Trying to install a GeoDjango on my machine. I\'m really new to Python and being brought into a project that has been a very tricky install for the other team members. I ins
In the latest GEOS install, the above answer didn't work... but was close to the problem.
I changed the regex right above the geos_version_info(): from:
version_regex = re.compile(r'^(?P(?P\d+)\.(?P\d+)\.(?P\d+))((rc(?P\d+))|dev)?-CAPI-(?P\d+\.\d+\.\d+)$')
to be:
version_regex = re.compile(r'^(?P(?P\d+)\.(?P\d+)\.(?P\d+))((rc(?P\d+))|dev)?-CAPI-(?P\d+\.\d+\.\d+).*$')
Notice the .* added to the end of the regex.