<div dir="ltr"><div>Thanks Simone, the problem was indeed the gdal library, I can't install from my virtualenv.</div><div>If I run <b>#pip install gdal</b>, the error is  <b>#include file "cpl_port.h", file not found.</b></div><div>If I try to build from source (GDAL 2.0, <a href="https://pypi.python.org/packages/source/G/GDAL/GDAL-2.0.0.tar.gz">https://pypi.python.org/packages/source/G/GDAL/GDAL-2.0.0.tar.gz</a>) with the following command setup.py #python build_ext - include-dirs = / usr / include / gdal /, the error is error:<b> command 'x86_64-linux-gnu-gcc' failed with exit status 1</b></div><div><br></div><div>These errors gdal just happen within a virtualenv.<br></div><div><br></div><div>Thank You!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 7, 2015 at 4:40 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, you are missing the gdal python bindings, a "pip install gdal" should fix it.<div><br></div><div>Hope it helps, ciao</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-06-07 17:59 GMT+02:00 Vicente <span dir="ltr"><<a href="mailto:deluca.vicente@gmail.com" target="_blank">deluca.vicente@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Good afternoon,</div><div>If I run the following line from my command line, the answer is successful</div><div><br></div><div>$ sudo apt-get -y install libgdal1h libgdal-dev python-gdal</div><div><br></div><div>But if I run from the session virtualenv, the answer is No module named osgeo.</div><div><br></div><div>I have just added the following session variables in my .bashrc:</div><div>export VIRTUALENVWRAPPER_PYTHON = / usr / bin / python<br></div><div>export WORKON_HOME = ~ / .venvs</div><div>source /usr/local/bin/virtualenvwrapper.sh</div><div>export PIP_DOWNLOAD_CACHE = $ HOME / .pip-downloads</div><div><br></div><div>Both session with virtualenv or outside, the python to run is the same, Python 2.7.6 (default, Mar 22 2014, 22:59:56)</div><div><br></div><div>The result is that I can not run because there is paver start the osgeo module from within the session obviously.</div><div><br></div><div>Thanks!</div><span><font color="#888888"><div><br></div>-- <br><div><div dir="ltr"><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:12px;color:rgb(51,51,51);white-space:pre-wrap!important"><table border="0" cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px;white-space:normal"><tbody><tr><td><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding-right:6px"><a title="Ir al Sitio" href="http://www.estudiomanta.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://www.estudiomanta.com/images/logo-manta_mail.png" alt="MANTA" border="0" style="float:left"></a></pre></td><td bgcolor="#e7f4f9" style="width:1px;padding:0px"><pre style="white-space:pre-wrap"> </pre></td><td><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px"><span style="color:rgb(0,157,223);font-family:helvetica;font-weight:bold;margin:0px;padding-left:6px"><span style="font-size:medium">Vicente Deluca</span><br></span></pre><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px"><strong><span style="color:rgb(0,87,130);font-family:helvetica;margin:0px;padding-left:6px"><span style="font-size:small"><a href="tel:%2B54%2011%206091%204579" value="+541160914579" style="color:rgb(17,85,204)" target="_blank">+54 11 6091 4579</a></span></span></strong></pre></td></tr></tbody></table></pre></div></div></div>
</font></span></div>
<br></div></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="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Simone </div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:12px;color:rgb(51,51,51);white-space:pre-wrap!important"><table border="0" cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);font-family:Verdana,Geneva,sans-serif;font-size:13.3333330154419px;white-space:normal"><tbody><tr><td><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding-right:6px"><a title="Ir al Sitio" href="http://www.estudiomanta.com/" style="color:rgb(17,85,204)" target="_blank"><img src="http://www.estudiomanta.com/images/logo-manta_mail.png" alt="MANTA" border="0" style="float:left"></a></pre></td><td bgcolor="#e7f4f9" style="width:1px;padding:0px"><pre style="white-space:pre-wrap"> </pre></td><td><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px"><span style="color:rgb(0,157,223);font-family:helvetica;font-weight:bold;margin:0px;padding-left:6px"><span style="font-size:medium">Vicente Deluca</span><br></span></pre><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px"><strong><span style="color:rgb(0,87,130);font-family:helvetica;margin:0px;padding-left:6px"><span style="font-size:small"><a href="tel:%2B54%2011%206091%204579" value="+541160914579" style="color:rgb(17,85,204)" target="_blank">+54 11 6091 4579</a></span></span></strong></pre></td></tr></tbody></table></pre></div></div></div>
</div>