Installing TopoPyScale (issues with topocalc package) #108
-
Hello, I'm trying to use your tool to downscale some ERA5 outputs, however, I'm running into issues with downloading toposcale. Would you know if there's an alternative way to download that package (or substitute package that's available)? I've tried using the .yml file, and calling it independently with -c conda-forge, pip, or pip3, but a common error appears: "ERROR: Failed building wheel for topocalc...Could not build wheels for topocalc, which is required to install pyproject.toml-based projects." "This error originates from a subprocess, and is likely not a problem with pip." Every other package has been able to get installed by following the guide online. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hello @kyung-robin-kim Can you try installing it with pip? It seems topocalc is giving problem: https://github.com/USDA-ARS-NWRC/topocalc conda create -n downscaling python=3.9 ipython
conda activate downscaling
# Recomended way to install dependencies:
conda install -c conda-forge xarray matplotlib scikit-learn pandas numpy netcdf4 h5netcdf rasterio pyproj dask geopandas
pip install topocalc
# and finally
pip install topopyscale |
Beta Was this translation helpful? Give feedback.
I recently heard back from Andrew, and he helped troubleshoot my specific error, which had to do with the parent virtual environment! I had been using "Miniconda" instead of the full Anaconda suite to minimize some packages. And using pip installed topocalc separately finally worked.