1

Did conda install:

conda install -c scitools cartopy

Seemed to go find, but now I'm getting the following error:

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

Any suggestions?

I also tried building from source and got the same problem.

I had a prior install of GDAL Complete, if that matters.

4

1 回答 1

0

Looks like an actual bug in program: https://github.com/SciTools/cartopy/issues/617

于 2015-05-18T18:14:10.767 回答