<div dir="ltr">Hi Julierme,<div><br></div><div>just to give you some quick ways to check what could be wrong.</div><div><br></div><div>Check what GDAL version is installed or it isn't</div><div>-----------------------------------------------------</div><div>$ gdalinfo --version</div><div><br></div><div>Check if the python bindings for GDAL are installed</div><div>--------------------------------------------------------------------</div><div>(virtual environment)</div><div>$ python manage.py shell</div><div><br></div><div>(geonode installed systemwide)</div><div>$ geonode shell</div><div><br></div><div>then in the interactive python shell</div><div><br></div><div>>>>from osgeo import ogr</div><div><br></div><div>Remember to make sure to match the GDAL binary version when you install the python bindings pygdal as already suggested by Toni.</div><div><br></div><div>A great resource to improve your confidence to programming GeoNode with the interactive shell is the workshop from Paolo Corti:</div><div><br></div><div><a href="http://www.paolocorti.net/foss4g_2017_geonode_solr/">http://www.paolocorti.net/foss4g_2017_geonode_solr/</a></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno gio 2 ago 2018 alle ore 12:27 Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com">juliermeopensourcedeveloper@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Toni,</div><div><br></div><div>Thank you very much for your reply. The problem remains even after your suggested command lines. I will separate a brand new Ubuntu@16.04LTS machine and see what happens.</div><div><br></div><div>I appreciated your time and help.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-08-02 6:07 GMT-03:00 Toni Schönbuchner <span dir="ltr"><<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank">toni.schoenbuchner@csgis.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi Julierme,<div><br></div><div><blockquote type="cite" style="font-family:Menlo-Regular;font-size:11px"><blockquote type="cite"> from osgeo import ogr<br>ImportError: No module named osgeo</blockquote></blockquote></div><div><br></div><div>you´re on ubuntu, right? can you check:</div><div><pre>$ sudo apt-get install python-gdal gdal-bin libgdal20 libgdal-dev libgdal-devpython-gdal –y</pre><pre>$ pip install <span class="m_7901984134890827881m_6747212660040020994nv">pygdal</span><span class="m_7901984134890827881m_6747212660040020994o">==</span><span class="m_7901984134890827881m_6747212660040020994m">2</span>.2.1.3</pre><div><br></div><div>Cheers,</div><div><br></div><div>Toni</div><div><br></div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><div style="word-wrap:break-word"><div><div>-----------------------------------------------</div><div>CSGIS</div><div><br></div><div>-----------------------------------------------</div><div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">Kolonnadenstraße 1</a></div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">04109 Leipzig</a></div></div><div>-----------------------------------------------</div><div>Mobil<span class="m_7901984134890827881m_6747212660040020994Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_7901984134890827881m_6747212660040020994Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_7901984134890827881m_6747212660040020994Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_7901984134890827881m_6747212660040020994Apple-tab-span" style="white-space:pre-wrap"> </span><a href="http://csgis.de" target="_blank">http://csgis.de</a></div><div>-----------------------------------------------</div><div><br></div><div>Hinweis gemäß § 33 BDSG</div><div>Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div><div>Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div><div>erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div><div>von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div><div>Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div></div></div></div></div></div></div></div>
</div>
<div><br><blockquote type="cite"><div>Am 01.08.2018 um 19:12 schrieb <a href="mailto:geonode-users-request@lists.osgeo.org" target="_blank">geonode-users-request@lists.osgeo.org</a>:</div><br class="m_7901984134890827881m_6747212660040020994Apple-interchange-newline"><div><blockquote type="cite" style="font-family:Menlo-Regular;font-size:11px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><blockquote type="cite"><blockquote type="cite">ImportError: No module named osgeo</blockquote></blockquote></blockquote></div></blockquote></div><br></div></div></blockquote></div><br></div>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</blockquote></div>