美文网首页
mac python安装gdal

mac python安装gdal

作者: 不能没有音乐 | 来源:发表于2021-04-12 11:01 被阅读0次

1.要先安装在mac上才能安装成功

brew install gdal

否则会报错

Could not find the GDAL library (tried "gdal", "GDAL", "gdal3.1.0", "gdal3.0.0", "gdal2.4.0", "gdal2.3.0", "gdal2.2.0", "gdal2.1.0", "gdal2.0.0"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

2.python安装

pip install gdal

相关文章

网友评论

      本文标题:mac python安装gdal

      本文链接:https://www.haomeiwen.com/subject/nzotkltx.html