1. 程式人生 > >MV3D中環境配置,解決安裝python shapely時缺少 geos庫的問題

MV3D中環境配置,解決安裝python shapely時缺少 geos庫的問題

href image nag ins watermark python -o follow 生成

MV3D 環境配置
技術分享圖片
需要安裝 shapely庫
在pip install shapely 的時候報錯 發現沒有geos庫

先安裝VS 2013
然後出現
技術分享圖片
打開CMD
技術分享圖片
下載 geos庫
下載geos-3.5.0,放在d:\geos350中
下載網站:http://trac.osgeo.org/geos/

atuogen.bat
nmake /f makefile.vc
技術分享圖片
之後在src目錄下生成
技術分享圖片
技術分享圖片
將文件拷貝到system32目錄
然後安裝 pip install shapely

請註意 你的系統是64位的 就要用 vcvars64.bat

MV3D中環境配置,解決安裝python shapely時缺少 geos庫的問題