Cartopy not finding Proj.4

3.2k views Asked by At

i have installed proj-4.9.1 correctly through the tar.gz and

./configure --prefix=/path/to/directory

then "make" and "make install". Nevertheless cartopy tells me

Proj4 4.9.0 must be installed.

I run the setup script through

python3 setup.py build_ext --inplace -I/path/to/cartopy/proj-4.9.1/include -L/path/to/cartopy/proj-4.9.1/lib

So do i have to take care of anything else?

1

There are 1 answers

4
w.eric On BEST ANSWER

Simply had to add

export LD_LIBRARY_PATH=/pathto/proj-4.9.1/lib/$LIBRARY_PATH

export PATH=/pathto/proj-4.9.1/bin:$PATH