[GeoNode-users] Can't 'use geonode updatelayers' or 'python manage.py' to updatelayers to with geoserver

Mana Etches manadotcom at gmail.com
Tue Jan 26 07:19:36 PST 2016

Hi again,

Firstly, thanks Simone Dalmasso for your help,

Upon your advice, I removed django 1.9 from directory

Then, reinstalled using:

sudo pip install Django==1.6.11

I ran the command 'geonode updatelayers' and I got the errors::

Traceback (most recent call last):
  File "/usr/local/bin/django-admin", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749,
in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446,
in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459,
in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Django==1.9.1

It looks like Django 1.9.1 is still being recognised.

I then backed up then removed 'GeoNode-2.4.egg-info', but to no avail.

Is their a way to safely remove/reinstall django 1.6.11

without affecting geonode 2.4 as a whole?

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160127/a52edee3/attachment.html>

More information about the geonode-users mailing list