Install GDAL in virtualenvwrapper environment

后端 未结 3 1265
野趣味
野趣味 2021-02-04 09:06

I tried to install gdal (pip install gdal)in virtualenvwrapper environment but I got this error :

  error: command \'gcc\' failed with exit status 1

  ---------         


        
3条回答
  •  春和景丽
    2021-02-04 10:02

    On MacOS, first do brew install:

    brew install gdal
    

    Then do pip install:

    pip install gdal
    

提交回复
热议问题