Reputation: 357
I am still pretty new to python, and I was wondering if anyone has had this problem before. I have read other threads, but I haven't seen this problem addressed yet. I need to install the GDAL module for python, and I have seen threads saying you need to install GDAL first and then it can be used on python, but I have also see others that said that conda install GDAL
is enough. When I try the latter, I get this error. Any ideas?
Upvotes: 0
Views: 611
Reputation: 44092
I had the same problem two days ago trying to install GDAL on Debian Jessie.
The solution was using pygdal
python package from PyPi.
Just read the instructions at PyPi and follow them, they are a bit different then one expects. In general:
apt-get install libgdal1-dev
pip
to install pygdal
with a version matching the installed GDAL lib.The last step is a bit unusual, but does the trick.
This works for Linux. For Windows my colleagues claim, there are ready made binaries, which can be installed.
Upvotes: 1