<div dir="ltr"><div>Dear users and developers,</div><div><br></div><div>I have been trying to install GeoNode-Project@2.8 via Docker on an Ubuntu@18.04LTS server, but while building the images, the installation is facing the following error:</div><div><br></div><div>Collecting pygdal==2.1.2.3<br>  Downloading <a href="https://files.pythonhosted.org/packages/37/4f/64823b0000ce4364bbddd4c46a21f80326910bae3763f9e514ececbd37d6/pygdal-2.1.2.3.tar.gz">https://files.pythonhosted.org/packages/37/4f/64823b0000ce4364bbddd4c46a21f80326910bae3763f9e514ececbd37d6/pygdal-2.1.2.3.tar.gz</a> (407kB)<br>    ERROR: Complete output from command python setup.py egg_info:<br>    ERROR: Traceback (most recent call last):<br>      File "<string>", line 1, in <module><br>      File "/tmp/pip-install-L5AGEr/pygdal/setup.py", line 173, in <module><br>        cmdclass=dict(build_ext=gdal_ext),<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 128, in setup<br>        _install_setup_requires(attrs)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 123, in _install_setup_requires<br>        dist.fetch_build_eggs(dist.setup_requires)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 504, in fetch_build_eggs<br>        replace_conflicting=True,<br>      File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 774, in resolve<br>        replace_conflicting=replace_conflicting<br>      File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1057, in best_match<br>        return self.obtain(req, installer)<br>      File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1069, in obtain<br>        return installer(requirement)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 571, in fetch_build_egg<br>        return cmd.easy_install(req)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 673, in easy_install<br>        return self.install_item(spec, dist.location, tmpdir, deps)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 699, in install_item<br>        dists = self.install_eggs(spec, download, tmpdir)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 884, in install_eggs<br>        return self.build_and_install(setup_script, setup_base)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1152, in build_and_install<br>        self.run_setup(setup_script, setup_base, args)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1138, in run_setup<br>        run_setup(setup_script, args)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 253, in run_setup<br>        raise<br>      File "/usr/local/lib/python2.7/contextlib.py", line 35, in __exit__<br>        self.gen.throw(type, value, traceback)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context<br>        yield<br>      File "/usr/local/lib/python2.7/contextlib.py", line 35, in __exit__<br>        self.gen.throw(type, value, traceback)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 166, in save_modules<br>        saved_exc.resume()<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 141, in resume<br>        six.reraise(type, exc, self._tb)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 154, in save_modules<br>        yield saved<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context<br>        yield<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 250, in run_setup<br>        _execfile(setup_script, ns)<br>      File "/usr/local/lib/python2.7/site-packages/setuptools/sandbox.py", line 45, in _execfile<br>        exec(code, globals, locals)<br>      File "/tmp/easy_install-1_bgIy/numpy-1.17.0rc1/setup.py", line 31, in <module><br>    <br>    RuntimeError: Python version >= 3.5 required.<br>    ----------------------------------------<br>ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-L5AGEr/pygdal/<br>ERROR: Service 'celery' failed to build: The command '/bin/sh -c GDAL_VERSION=`gdal-config --version`     && PYGDAL_VERSION="$(pip install pygdal==$GDAL_VERSION 2>&1 | grep -oP '(?<=: )(.*)(?=\))' | grep -oh $GDAL_VERSION\.[0-9])"     && pip install pygdal==$PYGDAL_VERSION' returned a non-zero code: 1<br>(my_geonode) geo@1520GIS:/home/geonode/my_geonode$ python -V<br>Python 2.7.15+</div><div><br></div><div>Any help will be very appreciated.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div></div>