[GeoNode-devel] pkg_resources.VersionConflict when python manage.py migrate

Simone Dalmasso simone.dalmasso at gmail.com
Mon Feb 12 22:20:16 PST 2018


Hi, your django version is correct but looks like other libraries are not,
like polymorphic. I suggest to run pip install -r requirements.txt again.

2018-02-12 23:09 GMT+01:00 SILVIA GAMERO <gamerinsky at gmail.com>:

> I have problems with geonode2.6x on Centos7, when migrating the data from
> python manage.py migrate or try to start geonode ..
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/django/utils/autoreload.py",
> line 229, in wrapper
>     fn(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/django/core/
> management/commands/runserver.py", line 107, in inner_run
>     autoreload.raise_last_exception()
>   File "/usr/lib/python2.7/site-packages/django/utils/autoreload.py",
> line 252, in raise_last_exception
>     six.reraise(*_exception)
>   File "/usr/lib/python2.7/site-packages/django/utils/autoreload.py",
> line 229, in wrapper
>     fn(*args, **kwargs)
>   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
> 85, in populate
>     app_config = AppConfig.create(entry)
>   File "/usr/lib/python2.7/site-packages/django/apps/config.py", line 86,
> in create
>     module = import_module(entry)
>   File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in
> import_module
>     __import__(name)
>   File "/usr/lib/python2.7/site-packages/polymorphic/__init__.py", line
> 13, in <module>
>     __version__ = pkg_resources.require("django-polymorphic")[0].version
>   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in
> require
>     needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in
> resolve
>     raise VersionConflict(dist,req) # XXX put more info here
> pkg_resources.VersionConflict: (Django 1.8.18 (/usr/lib/python2.7/site-packages),
> Requirement.parse('Django>=1.11'))
>
> I followed the steps of the installation guide, although I commented that
> I have not done the process that explain for the development mode, but
> starting from the installation of postgres, tomcat, geoserver and finally
> geonode.
> With these same steps I had done a previous installation but I had
> problems wanting to upload shapes to geonode or geoserver so I had to
> reinstall everything again.
>
> The version of Django that I am currently observing is the 1.8.18
>
> I would greatly appreciate the help of someone who has already been able
> to do the installation correctly.
>
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180213/365c2a0e/attachment.html>


More information about the geonode-devel mailing list