I didn't want to leave this uncommented. For some reason it works for
me now, see below my protocol of trying out, I guess it's some deeper
story within numpy.
Here is my protocol, showing that EPD's python/matplotlib.pylab has no
problem with numpy's 1.4.1 of GDAL 1.7 but for sure a problem with the
numpy 1.3.0: (This was exactly like that before with GDAL1.7 when it
still had numpy1.3 but I can't show it anymore, obviously)
a...@paradigm: site-packages$ pwd
/Users/aye/Library/Python/2.6/site-packages
a...@paradigm: site-packages$ ll gdal*
-rw-r--r-- 1 aye staff 102B 4 May 17:52 gdal.pth
a...@paradigm: site-packages$ cat gdal.pth
import sys;
sys.path.insert(0,'/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages')
a...@paradigm:
site-packages$ python
Enthought Python Distribution -- http://www.enthought.com
Version: 6.1-1 (32-bit)
Python 2.6.4 |EPD 6.1-1 (32-bit)| (r264:75706, Dec 11 2009, 10:58:54)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import numpy
numpy.__version__
'1.3.0'
from matplotlib.pylab import *
Bus error
a...@paradigm: site-packages$ sed 's/1.6/1.7/' gdal.pth > tmp;mv tmp gdal.pth
a...@paradigm: site-packages$ cat gdal.pth
import sys;
sys.path.insert(0,'/Library/Frameworks/GDAL.framework/Versions/1.7/Python/site-packages')
a...@paradigm:
site-packages$ python
Enthought Python Distribution -- http://www.enthought.com
Version: 6.1-1 (32-bit)
Python 2.6.4 |EPD 6.1-1 (32-bit)| (r264:75706, Dec 11 2009, 10:58:54)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import numpy
numpy.__version__
'1.4.1'
from matplotlib.pylab import *
At this point I got my prompt back and no bus error. I of course tested
further and was able to use ReadAsArray to get data and imshow to plot
it.
Anyhow, it works for me, so I'm happy.
Best regards,
Michael
On 2010-05-04 16:30:53 +0200, William Kyngesburye said:
Huh, did Enthought update their numpy also? If not, I'd expect the
sameproblems.
On May 4, 2010, at 9:19 AM, K.-Michael Aye wrote:
ahh, thank you very much! Thanks to your update using Numpy1.4.1
Isuccessfully married your GDAL frameworks with EPD.
and I lived happily ever after having all I needed.. (that is, untilthe
next cool software comes along. ;)
Have a great week!
Best regards,
Michael
On 2010-04-30 16:13:35 +0200, William Kyngesburye said:
Thanks. I probably would have forgotten to check before
buildingandpackaging GDAL 1.7.2 this weekend.
On Apr 30, 2010, at 8:54 AM, K.-Michael Aye wrote:
Hi William,
Numpy1.4.1 has been released, just to let you know. *hint,hint* ;)
Best regards and a nice weekend!
Michael
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"The beast is actively interested only in now, and, as it is
alwaysnowand always shall be, there is an eternity of time for
theaccomplishmentof objects."
- the wisdom of Tarzan
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"The beast is actively interested only in now, and, as it is always
nowand always shall be, there is an eternity of time for the
accomplishmentof objects."
- the wisdom of Tarzan
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev