[GeoNode-users] Could not parse version info string "3.6.2-CAPI-1.10.2 4d2925d6"

Paolo Corti pcorti at gmail.com
Thu Feb 15 16:57:44 PST 2018


Hi
you may need to patch site-packages/django/contrib/gis/geos/libgeos.py
as suggested here:
https://stackoverflow.com/questions/18643998/geodjango-geosexception-error

or use a different version of GEOS
cheers
p

On Thu, Feb 15, 2018 at 4:11 PM, SILVIA GAMERO <gamerinsky at gmail.com> wrote:
>
> I try to install geonode 2.6x on centos 7, but I have problems to execute
> python manage.py migrate, show me this:
> Has someone had the same problem and has been able to solve it?
>
>   File "manage.py", line 29, in <module>
>     execute_from_command_line(sys.argv)
>   File
> "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line
> 354, in execute_from_command_line
>     utility.execute()
>   File
> "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line
> 328, in execute
>     django.setup()
>   File "/usr/lib/python2.7/site-packages/django/__init__.py", line 18, in
> setup
>     apps.populate(settings.INSTALLED_APPS)
>   File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 115,
> in populate
>     app_config.ready()
>   File "/usr/lib/python2.7/site-packages/django/contrib/admin/apps.py", line
> 22, in ready
>     self.module.autodiscover()
>   File "/usr/lib/python2.7/site-packages/django/contrib/admin/__init__.py",
> line 24, in autodiscover
>     autodiscover_modules('admin', register_to=site)
>   File "/usr/lib/python2.7/site-packages/django/utils/module_loading.py",
> line 74, in autodiscover_modules
>     import_module('%s.%s' % (app_config.name, module_to_search))
>   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in
> import_module
>     __import__(name)
>   File
> "/usr/lib/python2.7/site-packages/django/contrib/gis/admin/__init__.py",
> line 7, in <module>
>     from django.contrib.gis.admin.options import GeoModelAdmin, OSMGeoAdmin
>   File
> "/usr/lib/python2.7/site-packages/django/contrib/gis/admin/options.py", line
> 2, in <module>
>     from django.contrib.gis.admin.widgets import OpenLayersWidget
>   File
> "/usr/lib/python2.7/site-packages/django/contrib/gis/admin/widgets.py", line
> 4, in <module>
>     from django.contrib.gis.geos import GEOSException, GEOSGeometry
>   File
> "/usr/lib/python2.7/site-packages/django/contrib/gis/geos/__init__.py", line
> 8, in <module>
>     from .libgeos import geos_version, geos_version_info  # NOQA: flake8
> detects only the last __all__
>   File
> "/usr/lib/python2.7/site-packages/django/contrib/gis/geos/libgeos.py", line
> 155, in <module>
>     _verinfo = geos_version_info()
>   File
> "/usr/lib/python2.7/site-packages/django/contrib/gis/geos/libgeos.py", line
> 150, in geos_version_info
>     raise GEOSException('Could not parse version info string "%s"' % ver)
> django.contrib.gis.geos.error.GEOSException: Could not parse version info
> string "3.6.2-CAPI-1.10.2 4d2925d6"
> [geonode at srv-c7geonode geonode]$  Could not parse version info string
> "3.6.2-CAPI-1.10.2 4d2925d6"
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the geonode-users mailing list