From 212ab1af5a9a8f9beae072d125199a22e527ba6c Mon Sep 17 00:00:00 2001 From: Narayana Rao Bhogapurapu <narayanarao.bhogapurapu@gmail.com> Date: Thu, 3 Oct 2024 19:31:57 -0700 Subject: [PATCH] Update build.sh --- build.sh | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/build.sh b/build.sh index 7f29c58..762a685 100644 --- a/build.sh +++ b/build.sh @@ -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. -- GitLab