Re: [Matplotlib-users] Error During Install basemap-0.9.9
I don't know fedora, but is there a numpy-dev package or something similar? You'll need it to install numpy's header files. Zainal Abidin wrote: Hi All, I have an error during basemap-0.9.9 installation src/_geos.c:28:31: error: numpy/arrayobject.h: No such file or directory and so on .. I'm using fedora 8 numpy 1.1.0 scipy 0.6.0 shapelib 1.2.10 pyshapelib 0.3 help me please, is there n\any I should do? -- Zainal Abidin, S.Si Sub Bidang Informasi Meteorologi Publik Badan Meteorologi dan Geofisika Jl. Angkasa I No. 2 Jakarta - Indonesia Visit Indonesia Year 2008 - Celebrating 100 Years of National Awakening - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] OS X (Intel Mac) installation woes
Hi all I'm having trouble installing on OS X. The short story is it looks like something file is trying to build something for a ppc architecture when I'm on an Intel mac. Here's the long story: First I downloaded the matplotlib-0.99.3-py2.5-macosx-10.3.egg file but it complained that I didn't have numpy 1.1 as the version that comes with OS X is 1.0.1. So I tried matplotlib-0.91.4-py2.5-macosx-10.3.egg but that complained about not being able to download the matplotlib package. So then I installed MacPython from the python website, and installed NumPy from the SciPy website (both of which use standard OS X installation tools), and installed the easy_install script (because the one that comes with OS X looks at the built-in python libs not the ones I just installed). Now running /Library/Frameworks/Python.framework/Versions/2.5/bin/easy_install ~/Downloads/matplotlib-0.98.3-py2.5-macosx-10.3.egg gives a bunch of errors. Full output is below. The line ld: in /opt/local/lib/libJPEG.dylib, file is not of required architecture for architecture ppc looks suspicious to me, since I'm on an Intel Mac. Am I doing something wrong or is this a problem with the egg file? Does anyone have instructions for installing matplotlib successfully on an Intel Mac? I'm pretty new to python so please forgive me if I'm doing something silly. Nathaniel Processing matplotlib-0.98.3-py2.5-macosx-10.3.egg removing '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg' (and everything under it) creating /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg Extracting matplotlib-0.98.3-py2.5-macosx-10.3.egg to /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages matplotlib 0.98.3 is already the active version in easy-install.pth Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg Processing dependencies for matplotlib==0.98.3 Searching for matplotlib==0.98.3 Reading http://pypi.python.org/simple/matplotlib/ Reading http://matplotlib.sourceforge.net Reading https://sourceforge.net/project/showfiles.php?group_id=80706package_id=278194 Reading https://sourceforge.net/project/showfiles.php?group_id=80706package_id=82474 Reading http://sourceforge.net/project/showfiles.php?group_id=80706package_id=82474 Reading http://sourceforge.net/project/showfiles.php?group_id=80706 Best match: matplotlib 0.98.3 Downloading http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.3.tar.gz?modtime=1217773039big_mirror=0 Processing matplotlib-0.98.3.tar.gz Running matplotlib-0.98.3/setup.py -q bdist_egg --dist-dir /var/folders/-o/-oFJ5-G6HuK5pe-MeCIFOE+++TQ/-Tmp-/easy_install-5GMKQj/matplotlib-0.98.3/egg-dist-tmp-xTqKsx BUILDING MATPLOTLIB matplotlib: 0.98.3 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.1.1 freetype2: 9.16.3 OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.25 Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 wxPython: no * wxPython not found Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to import gtk in your build/install environment Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: matplotlib will provide OPTIONAL USETEX DEPENDENCIES dvipng: 1.9 ghostscript: 8.61 latex: 3.141592 EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] warning: no files found matching 'NUMARRAY_ISSUES' warning: no files found matching 'MANIFEST' warning: no files found matching 'matplotlibrc' warning: no files found matching 'makeswig.py' warning: no files found matching 'examples/data/*' warning: no files found matching 'lib/mpl_toolkits' warning: no files found matching '*' under directory 'examples' warning: no files found matching '*' under directory 'swig' In file included from /usr/include/math.h:26, from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:231, from /Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57, from ./CXX/WrapPython.h:42, from
Re: [Matplotlib-users] saving a figure
Elaine Angelino wrote: hi there, in matlab, it is possible to save a matlab .fig file that can be opened directly by matlab (and which you can then interact with and edit, for example change the title, etc.). is it possible to do something analogous in matplotlib? thanks very much elaine Elaine, No, this is not possible in mpl. It has been requested before, and there has been some discussion, but I don't think it is high on anyone's priority list. Personally, I never used that functionality when I used Matlab, so I don't miss it. Eric - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] OS X (Intel Mac) installation woes
This comes up every so often, and there really should be more instructions on the website; suffice it to say, it's trying to resolve dependencies that are actually satisfied by the package yoiu downloaded (it is a fat binary, universal - both PPC and Intel) but distutils is being somewhat obtuse for an unknown (to me) reason. That said, the build on the matplotlib website is self-sufficient save for numpy, use the -N flag to easy_install (and don't forget to run it with sudo). This should take care of things. Cheers, David On 16-Aug-08, at 8:36 AM, Nathaniel Virgo wrote: Hi all I'm having trouble installing on OS X. The short story is it looks like something file is trying to build something for a ppc architecture when I'm on an Intel mac. Here's the long story: First I downloaded the matplotlib-0.99.3-py2.5-macosx-10.3.egg file but it complained that I didn't have numpy 1.1 as the version that comes with OS X is 1.0.1. So I tried matplotlib-0.91.4-py2.5- macosx-10.3.egg but that complained about not being able to download the matplotlib package. So then I installed MacPython from the python website, and installed NumPy from the SciPy website (both of which use standard OS X installation tools), and installed the easy_install script (because the one that comes with OS X looks at the built-in python libs not the ones I just installed). Now running /Library/Frameworks/Python.framework/Versions/2.5/bin/easy_install ~/ Downloads/matplotlib-0.98.3-py2.5-macosx-10.3.egg gives a bunch of errors. Full output is below. The line ld: in / opt/local/lib/libJPEG.dylib, file is not of required architecture for architecture ppc looks suspicious to me, since I'm on an Intel Mac. Am I doing something wrong or is this a problem with the egg file? Does anyone have instructions for installing matplotlib successfully on an Intel Mac? I'm pretty new to python so please forgive me if I'm doing something silly. Nathaniel Processing matplotlib-0.98.3-py2.5-macosx-10.3.egg removing '/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/matplotlib-0.98.3-py2.5- macosx-10.3.egg' (and everything under it) creating /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg Extracting matplotlib-0.98.3-py2.5-macosx-10.3.egg to /Library/ Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages matplotlib 0.98.3 is already the active version in easy-install.pth Installed /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg Processing dependencies for matplotlib==0.98.3 Searching for matplotlib==0.98.3 Reading http://pypi.python.org/simple/matplotlib/ Reading http://matplotlib.sourceforge.net Reading https://sourceforge.net/project/showfiles.php?group_id=80706package_id=278194 Reading https://sourceforge.net/project/showfiles.php?group_id=80706package_id=82474 Reading http://sourceforge.net/project/showfiles.php?group_id=80706package_id=82474 Reading http://sourceforge.net/project/showfiles.php?group_id=80706 Best match: matplotlib 0.98.3 Downloading http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.3.tar.gz?modtime=1217773039big_mirror=0 Processing matplotlib-0.98.3.tar.gz Running matplotlib-0.98.3/setup.py -q bdist_egg --dist-dir /var/ folders/-o/-oFJ5-G6HuK5pe-MeCIFOE+++TQ/-Tmp-/easy_install-5GMKQj/ matplotlib-0.98.3/egg-dist-tmp-xTqKsx = = = = = = == BUILDING MATPLOTLIB matplotlib: 0.98.3 python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC 4.0.1 (Apple Computer, Inc. build 5363)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.1.1 freetype2: 9.16.3 OPTIONAL BACKEND DEPENDENCIES libpng: 1.2.25 Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4 wxPython: no * wxPython not found Gtk+: no * Building for Gtk+ requires pygtk; you must be able * to import gtk in your build/install environment Qt: no Qt4: no Cairo: no OPTIONAL DATE/TIMEZONE DEPENDENCIES datetime: present, version unknown dateutil: matplotlib will provide pytz: matplotlib will provide OPTIONAL USETEX DEPENDENCIES dvipng: 1.9 ghostscript: 8.61 latex: 3.141592 EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] = = = = = =