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 ...@@ -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}" # 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 # Verify the GDAL installation and other package availability
conda run --no-capture-output -n ich python -c ' # conda run --no-capture-output -n ich python -c '
try: # try:
from osgeo import gdal # from osgeo import gdal
import warnings # import warnings
import argparse # import argparse
import os # import os
import sys # import sys
from skimage.util.shape import view_as_blocks # from skimage.util.shape import view_as_blocks
from mpl_toolkits.axes_grid1 import make_axes_locatable # from mpl_toolkits.axes_grid1 import make_axes_locatable
from scipy.interpolate import griddata # from scipy.interpolate import griddata
from tqdm import tqdm # from tqdm import tqdm
from concurrent.futures import ProcessPoolExecutor, as_completed # from concurrent.futures import ProcessPoolExecutor, as_completed
print("All modules imported successfully.") # print("All modules imported successfully.")
except ImportError as e: # except ImportError as e:
print(f"Import error: {e}") # print(f"Import error: {e}")
sys.exit(1) # sys.exit(1)
' # '
# Optionally, you can include additional checks or commands below # Optionally, you can include additional checks or commands below
# For example, checking for specific versions of packages or running a test script. # 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