cartopy conda 安装错误 osx:库未加载:@rpath/libproj.0.dylib
cartopy conda install error osx: Library not loaded: @rpath/libproj.0.dylib
是否安装了conda:
conda install -c scitools cartopy
好像去找过,但现在我收到以下错误:
import cartopy.crs as ccrs
Traceback (most recent call last):
File "<ipython-input-1-762e43a32730>", line 1, in <module>
import cartopy.crs as ccrs
File "/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/__init__.py", line 110, in <module>
import cartopy.crs
File "/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/crs.py", line 37, in <module>
from cartopy._crs import CRS, Geocentric, Geodetic, Globe, PROJ4_RELEASE
ImportError: dlopen(/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/_crs.so, 2): Library not loaded: @rpath/libproj.0.dylib
Referenced from: /Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/_crs.so
Reason: image not found
有什么建议吗?
我也试过从源代码构建,但遇到了同样的问题。
如果重要的话,我之前安装了 GDAL Complete。
看起来像是程序中的实际错误:https://github.com/SciTools/cartopy/issues/617
是否安装了conda:
conda install -c scitools cartopy
好像去找过,但现在我收到以下错误:
import cartopy.crs as ccrs
Traceback (most recent call last):
File "<ipython-input-1-762e43a32730>", line 1, in <module>
import cartopy.crs as ccrs
File "/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/__init__.py", line 110, in <module>
import cartopy.crs
File "/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/crs.py", line 37, in <module>
from cartopy._crs import CRS, Geocentric, Geodetic, Globe, PROJ4_RELEASE
ImportError: dlopen(/Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/_crs.so, 2): Library not loaded: @rpath/libproj.0.dylib
Referenced from: /Users/Nick/anaconda/lib/python2.7/site-packages/cartopy/_crs.so
Reason: image not found
有什么建议吗?
我也试过从源代码构建,但遇到了同样的问题。
如果重要的话,我之前安装了 GDAL Complete。
看起来像是程序中的实际错误:https://github.com/SciTools/cartopy/issues/617