Cartopy 找不到 Proj.4
Cartopy not finding Proj.4
我已经通过 tar.gz 和
正确安装了 proj-4.9.1
./configure --prefix=/path/to/directory
然后 "make" 和 "make install"。不过cartopy告诉我
Proj4 4.9.0 must be installed.
我运行安装脚本通过
python3 setup.py build_ext --inplace -I/path/to/cartopy/proj-4.9.1/include -L/path/to/cartopy/proj-4.9.1/lib
所以我还需要处理其他事情吗?
只需添加
export LD_LIBRARY_PATH=/pathto/proj-4.9.1/lib/$LIBRARY_PATH
export PATH=/pathto/proj-4.9.1/bin:$PATH
我已经通过 tar.gz 和
正确安装了 proj-4.9.1./configure --prefix=/path/to/directory
然后 "make" 和 "make install"。不过cartopy告诉我
Proj4 4.9.0 must be installed.
我运行安装脚本通过
python3 setup.py build_ext --inplace -I/path/to/cartopy/proj-4.9.1/include -L/path/to/cartopy/proj-4.9.1/lib
所以我还需要处理其他事情吗?
只需添加
export LD_LIBRARY_PATH=/pathto/proj-4.9.1/lib/$LIBRARY_PATH
export PATH=/pathto/proj-4.9.1/bin:$PATH