[GeoNode-users] Problems installing GeoNode Project in UBUNTU 20.04

Julio Quadros jquadros at itcom.co.mz
Mon Dec 5 06:12:07 PST 2022


Hello

 

First of all I have to confess I am completely ignorant as far as GeoNode is concerned ☹

 

One of my clients asked me to install GeoNode in a local UBUNTU server, and the requisites are: 

 

“need to be able to configure and customise  front end of GeoNode, etc? ODK Central is straightforward, but we need a webserver capable of serving images in a browser which does not conflict with the instance of nginx that comes bundled in the docker for Central.”

 

Well, I assumed the solution would be to install geonode-project v4, and I followed this doc  <https://docs.geonode.org/en/master/install/advanced/project/index.html> GeoNode Project — GeoNode master documentation

 

1.	The server OS is UBUNTU 20.04 64-bit clean environment
2.	ERROR running command: 

pip install -r src/requirements.txt –upgrade

 

….

ERROR: geonode 4.0.1.dev0 has requirement Django==3.2.15, but you'll have django 3.2.13 which is incompatible.

ERROR: geonode 4.0.1.dev0 has requirement urllib3==1.26.12, but you'll have urllib3 1.26.13 which is incompatible.

 

                This is very weird, because in this doc, when instructed to install Django, the command is: pip install Django==3.2.13

                So, I assume this doc doesn´t apply to the current version of GeoNode Project ☹

 

But then the weirdest thing is the urllib3 version error: I have the 1.26.13 and the required is 1.26.12???? How do I downgrade urllib3???

 

3.	Now, I tried to install  Django 3.2.15:

(my_geonode) geonode at geonode:/opt/geonode_custom/my_geonode$ pip install Django==3.2.15

Collecting Django==3.2.15

  Downloading Django-3.2.15-py3-none-any.whl (7.9 MB)

     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 27.3 MB/s eta 0:00:00

Requirement already satisfied: asgiref<4,>=3.3.2 in /home/geonode/.virtualenvs/my_geonode/lib/python3.8/site-packages (from Django==3.2.15) (3.5.2)

Requirement already satisfied: sqlparse>=0.2.2 in /home/geonode/.virtualenvs/my_geonode/lib/python3.8/site-packages (from Django==3.2.15) (0.4.3)

Requirement already satisfied: pytz in /home/geonode/.virtualenvs/my_geonode/lib/python3.8/site-packages (from Django==3.2.15) (2022.2.1)

Installing collected packages: Django

  Attempting uninstall: Django

    Found existing installation: Django 3.2.13

    Uninstalling Django-3.2.13:

      Successfully uninstalled Django-3.2.13

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

geonode 4.0.1.dev0 requires urllib3==1.26.12, but you have urllib3 1.26.13 which is incompatible.

Successfully installed Django-3.2.15

 

[notice] A new release of pip available: 22.2.2 -> 22.3.1

[notice] To update, run: pip install --upgrade pip

 

Will someone please help ?

 

Thank you in advance

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20221205/4fca84d1/attachment.htm>


More information about the geonode-users mailing list