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

SILVIA GAMERO gamerinsky at gmail.com
Mon Feb 12 14:09:15 PST 2018


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180212/9f36e2e5/attachment.html>


More information about the geonode-devel mailing list