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

后端 未结 3 1151
太阳男子
太阳男子 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:34

    The workaround given by @user1738154 didn't work as expected for me so went ahead and installed GDAL using HomeBrew then using pip into my Virtual environment.

        $ brew install gdal
        (venv)$ pip install GDAL
    

    Everything compiled and ran like a charm.

提交回复
热议问题