简体   繁体   中英

Unable to install basemap package in python 3.6

I'm a newbie and so have problems installing the basemap package. I have Python 3.6.0 (32 bit, windows) I want to install basemap package.(Numpy and Matplotlib have already been installed). Versions available on internet are 3.3 compatible. Things I've tried:

  1. Installing it with pip. Didn't work.
  2. Found another package http://www.lfd.uci.edu/~gohlke/pythonlibs/#basemap compatible. When tried to install, it gave egg info code 1 error.
  3. Created virtual env and tried installing it. Gives error

Where am I going wrong?

the egg error is because GEOS is missing

try direct to install a wheel package: get it from:

https://www.lfd.uci.edu/~gohlke/pythonlibs/

then install with (case python 3.7 win64):

  py -m pip install "C:\maxbook\maxboxpython\basemap-1.2.0-cp37-cp37m-win_amd64.whl"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM