[GeoNode-users] GeoNode-Project: migration and createsuperuser (Julierme Pinheiro)

francesco bartoli xbartolone at gmail.com
Thu Aug 2 03:51:03 PDT 2018


Hi Julierme,

just to give you some quick ways to check what could be wrong.

Check what GDAL version is installed or it isn't
-----------------------------------------------------
$ gdalinfo --version

Check if the python bindings for GDAL are installed
--------------------------------------------------------------------
(virtual environment)
$ python manage.py shell

(geonode installed systemwide)
$ geonode shell

then in the interactive python shell

>>>from osgeo import ogr

Remember to make sure to match the GDAL binary version when you install the
python bindings pygdal as already suggested by Toni.

A great resource to improve your confidence to programming GeoNode with the
interactive shell is the workshop from Paolo Corti:

http://www.paolocorti.net/foss4g_2017_geonode_solr/


Il giorno gio 2 ago 2018 alle ore 12:27 Julierme Pinheiro <
juliermeopensourcedeveloper at gmail.com> ha scritto:

> Hi Toni,
>
> Thank you very much for your reply. The problem remains even after your
> suggested command lines. I will separate a brand new Ubuntu at 16.04LTS
> machine and see what happens.
>
> I appreciated your time and help.
>
> Kind regards
>
> Julierme
>
> 2018-08-02 6:07 GMT-03:00 Toni Schönbuchner <toni.schoenbuchner at csgis.de>:
>
>> Hi Julierme,
>>
>>    from osgeo import ogr
>> ImportError: No module named osgeo
>>
>>
>> you´re on ubuntu, right? can you check:
>>
>> $ sudo apt-get install python-gdal gdal-bin libgdal20 libgdal-dev libgdal-devpython-gdal –y
>>
>> $ pip install pygdal==2.2.1.3
>>
>>
>> Cheers,
>>
>> Toni
>>
>> -----------------------------------------------
>> CSGIS
>>
>> -----------------------------------------------
>> Kolonnadenstraße 1
>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>> 04109 Leipzig
>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>> -----------------------------------------------
>> Mobil +49/ (0) 176 6680 3198
>> Tel  +49/ (0) 341 24 04 738
>> Fax  +49/ (0) 341 24 04 73
>> Web http://csgis.de
>> -----------------------------------------------
>>
>> Hinweis gemäß § 33 BDSG
>> Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist
>> ausschließlich für den
>> Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie
>> diese E-Mail versehentlich
>> erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und
>> löschen Sie diese Nachricht
>> von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung,
>> Vervielfältigung, Veränderung,
>> Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>>
>> Am 01.08.2018 um 19:12 schrieb geonode-users-request at lists.osgeo.org:
>>
>> ImportError: No module named osgeo
>>
>>
>>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180802/b39eac94/attachment-0001.html>


More information about the geonode-users mailing list