Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with GDAL. Tried to install GDAL with pip but I couldn't #38

Open
anyosa opened this issue May 12, 2020 · 1 comment
Open

Problems with GDAL. Tried to install GDAL with pip but I couldn't #38

anyosa opened this issue May 12, 2020 · 1 comment

Comments

@anyosa
Copy link

anyosa commented May 12, 2020

Hi,
Do you have any advice to solve the GDAL problem? (I'm using macOS Catalina).
Thanks!

shasta_dem = rd.LoadGDAL(dem_path)
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3296, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
shasta_dem = rd.LoadGDAL(dem_path)
File "/usr/local/lib/python3.7/site-packages/richdem/init.py", line 255, in LoadGDAL
raise Exception("richdem.LoadGDAL() requires GDAL.")
Exception: richdem.LoadGDAL() requires GDAL.

@giswqs
Copy link

giswqs commented May 12, 2020

Try using conda to install it. You will need Anaconda or Miniconda installed on your computer.

conda create -n py38 python
conda activate py38
conda install -c conda-forge gdal richdem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants