Python GDAL: pip install --no-install GDAL fails

后端 未结 3 1184
太阳男子
太阳男子 2021-01-12 04:47

I am trying to install GDAL in virtual environment based on the various solutions out there.

However the download itself already fails:

$ pip install         


        
3条回答
  •  庸人自扰
    2021-01-12 05:14

    A workaround to that problem is to

    1. Download GDAL Complete from this site
    2. Install GDAL Complete.pkg
    3. Go to /Library/Frameworks/GDAL.framework/Versions/1.10/ and copy all files in there
    4. Go to your virtual environment's sites-packages /venv/lib/python2.7/site-packages and paste the copied files in there

提交回复
热议问题