I'm trying to install basemap(for matplotlib) on windows 2010 , but you must do it manually and you must have geos library installed.Sadly if you pip install geos you get a geos0.1 and basemap needs geos3 and above.I can find geos 3 and above but it seems it is not for windows.Is there a way to download geos version>3 on windows?
Asked
Active
Viewed 764 times
1

juanpa.arrivillaga
- 88,713
- 10
- 131
- 172

Ευάγγελος Γρηγορόπουλος
- 885
- 1
- 10
- 22
-
1*always* use a generic [python] tag. Anyway, [this answer](https://stackoverflow.com/a/42587648/5014455) seems pretty straightforward using `conda`, if you are willing. Probably the easiest way on Windows. – juanpa.arrivillaga Jan 05 '18 at 20:11
-
1Cant do it without it , i dont have conda installed? – Ευάγγελος Γρηγορόπουλος Jan 05 '18 at 20:16
-
You *can* but using conda would be a lot easier – juanpa.arrivillaga Jan 05 '18 at 20:17
-
Thx i will check it out – Ευάγγελος Γρηγορόπουλος Jan 05 '18 at 20:18
1 Answers
1
For future viewers , cause osgeo and basemap on windows users is a real pain , to install them :
- pip install pyproj
- go to this site https://www.lfd.uci.edu/~gohlke/pythonlibs/ and download wheel file for gdal library and basemap library.(you need to download the correct file fitting your python version)
- Install via pip shapely and then basemap.(pip install DownloadedFileName.whl)
- If you are making an application you will need to add a blank init file in basemap's folder(this is only if you need to compile basemap library for your application)
All the above is if you need these libraries as bindings , if not you can use simple installers(osgeos4w) witch come with seperate consoles.

Ευάγγελος Γρηγορόπουλος
- 885
- 1
- 10
- 22