<div dir="ltr"><div>Dear Francesco,</div><div><br></div><div>I got it done. I appreciated your reply.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 16, 2019 at 4:52 AM Francesco Bartoli <<a href="mailto:xbartolone@gmail.com">xbartolone@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div name="messageBodySection">
<div dir="auto">This problem is known with the installation of numpy >1.16. A possible workaround is to install numpy==1.16 before the actual installation from pygdal in the Dockerfile.</div>
</div>
<div name="messageSignatureSection"><br>
<div dir="auto">Hope this helps
<div dir="auto">Francesco</div>
</div>
</div>
<div name="messageReplySection">Il 16 lug 2019, 03:41 +0200, 1520 gis <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@gmail.com</a>>, ha scritto:<br>
<blockquote type="cite" class="gmail-m_-7055692464828810009spark_quote" style="margin:5px;padding-left:10px;border-left:thin solid rgb(26,188,156)">
<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" target="_blank">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>
_______________________________________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br></blockquote>
</div>
</div>

</blockquote></div>