I tried
pip3 install basemap
but Basemap seems not to be on PyPI.
There is an old question but it has no answer.
What I did
- I downloaded basemap 1.07 (source)
- Matplotlib 2, numpy 1.11, PIL,
python3-dev
is installed
I'm not sure where / how to get GEOS (libgeos-dev
?). I think I followed the README and it didn't show any errors, but when trying the first line of this
$ python3
>>> from mpl_toolkits.basemap import Basemap
I get
ImportError: libgeos-3.3.3.so: cannot open shared object file: No such file or directory
It is in
$ locate libgeos-3.3.3.so
/home/math/Downloads/basemap-1.0.7/geos-3.3.3/src/.libs/libgeos-3.3.3.so
/usr/local/lib/libgeos-3.3.3.so