Closed crooksey closed 6 years ago
Looks like this is likely to be the same issue as https://github.com/matplotlib/basemap/issues/362
This is fixed in master according to git log
Author: Russell Jones
Date: Tue Jul 25 12:14:43 2017 +0100
Add rather than nest include arrays for geos
Shouldn't the contents of inc_dirs be added to geos_include_dirs rather than nested within it?
diff --git a/setup.py b/setup.py
index 3b23b581..433cbf7a 100644
--- a/setup.py
+++ b/setup.py
@@ -77,7 +77,7 @@ set GEOS_DIR to /usr/local), or edit the setup.py script
manually and set the variable GEOS_dir (right after the line
that says "set GEOS_dir manually here".""" % "', '".join(geos_search_locations))
else:
- geos_include_dirs=[os.path.join(GEOS_dir,'include'),inc_dirs]
+ geos_include_dirs=[os.path.join(GEOS_dir,'include')] + inc_dirs
Try installing the latest master instead of the release.
Cheers
Thanks guys, that solved it.
Hi,
I have installed basemap no problem on my Linux development machine, now I have production ready code, I am setting up basemap on my FreeBSD server. I am trying to install basemap into a virtualenv, I have installed geos:
And within my virtualenv I have tried to install basemap and it fails with the below output (note I can install the ports/math/py-basemap, which installs py27-basemap as a system package with no errors, but I am using python3 and also need basemap installed inside my virtualenv), can anyone help debug the below output to try and see what is causing the package to fail installing?