Skip to content
Snippets Groups Projects
Commit 212ab1af authored by Narayanarao Bhogapurapu's avatar Narayanarao Bhogapurapu
Browse files

Update build.sh

parent a66dc532
No related branches found
No related tags found
No related merge requests found
......@@ -27,23 +27,23 @@ pip install pandas scikit-image empatches scikit-learn scipy numpy matplotlib tq
# conda run --no-capture-output -n ich PIP_REQUIRE_VENV=0 python -m pip install -e "${basedir}"
# Verify the GDAL installation and other package availability
conda run --no-capture-output -n ich python -c '
try:
from osgeo import gdal
import warnings
import argparse
import os
import sys
from skimage.util.shape import view_as_blocks
from mpl_toolkits.axes_grid1 import make_axes_locatable
from scipy.interpolate import griddata
from tqdm import tqdm
from concurrent.futures import ProcessPoolExecutor, as_completed
print("All modules imported successfully.")
except ImportError as e:
print(f"Import error: {e}")
sys.exit(1)
'
# conda run --no-capture-output -n ich python -c '
# try:
# from osgeo import gdal
# import warnings
# import argparse
# import os
# import sys
# from skimage.util.shape import view_as_blocks
# from mpl_toolkits.axes_grid1 import make_axes_locatable
# from scipy.interpolate import griddata
# from tqdm import tqdm
# from concurrent.futures import ProcessPoolExecutor, as_completed
# print("All modules imported successfully.")
# except ImportError as e:
# print(f"Import error: {e}")
# sys.exit(1)
# '
# Optionally, you can include additional checks or commands below
# For example, checking for specific versions of packages or running a test script.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment