<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body
text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
I've compiled GDAL from trunk, specifying --with-python at configure
time. I first checked numpy is correctly installed. The problem is I
couldn't import gdal_array.py by default (got ImportError: no module
named _gdal_array). <br>
<br>
Tried<br>
<br>
<span>python gdal_sources/swig/python/setup.py install<br>
<br>
Didn't work.<br>
</span><br>
I finally had to define<br>
<br>
export
PYTHONPATH=$PYTHONPATH:$/usr/local/lib/python2.7/dist-packages/osgeo<br>
<br>
to make it work. And I don't think that's the default solution, right?
Am I doing something wrong?<br>
<br>
Environment: Ubuntu 14.10, GDAL from trunk, Python 2.7.8<br>
<br>
Many thanks in advance,<br>
<br>
Best regards<br>
<br>
<div class="moz-signature">-- <br><span><meta charset="utf-8"><div
style="color: rgb(0, 0, 0); font-family: arial, sans-serif; font-size:
13px; font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: auto; text-align:
start; text-indent: 0px; text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; background-color: rgb(255, 255, 255);">Jorge
Arévalo</div><div style="color: rgb(0, 0, 0); font-family: arial,
sans-serif; font-size: 13px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: auto; text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap: break-word; background-color:
rgb(255, 255, 255);"><br></div><div style="color: rgb(0, 0, 0);
font-family: arial, sans-serif; font-size: 13px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto; word-spacing:
0px; -webkit-text-stroke-width: 0px; word-wrap: break-word;
background-color: rgb(255, 255, 255);">CartoDB<br><a
href="http://cartodb.com/" target="_blank" style="color: rgb(17, 85,
204);">http://cartodb.com/</a></div> </span></div>
</body>
</html>