[Matplotlib-users] installing matplotlib 1.3.0
Hello everyone, I have a small problem installing the latest release of matplotlib. The following problem occurs during building (I just used 'pip install matplotlib' for it): /opt/pkg/compiler/gnu/gcc/4.7.1/bin/g++-4.7.1 -pthread -shared build/temp.linux-x86_64-2.7/src/_image.o build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/agg24/src/agg_bezier_arc.o build/temp.linux-x86_64-2.7/agg24/src/agg_curves.o build/temp.linux-x86_64-2.7/agg24/src/agg_image_filters.o build/temp.linux-x86_64-2.7/agg24/src/agg_trans_affine.o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_contour.o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_dash.o build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_stroke.o build/temp.linux-x86_64-2.7/agg24/src/agg_vpgen_segmentator.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/lib64 -lstdc++ -lm -o build/lib.linux-x86_64-2.7/matplotlib/_image.so /usr/bin/ld: /usr/lib/libm.a(s_sin.o): relocation R_X86_64_32S against `__sincostab' can not be used when making a shared object; recompile with -fPIC I don't really understand the problem. Is it possible that the libary is to old or the standard libm.a isn't compiled the right way? I'm trying to build it on a server: Distributor ID:Ubuntu Description:Ubuntu 12.04.2 LTS Release:12.04 Codename:precise Do you know a way how to avoid it and not trying to build a new libm or something similar? Thank you. Best regards, Anton -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib on mac os X with the *.dmg file
In article 5b7d5731-75a1-4a27-8864-c973259cf...@neuro.uni-bremen.de, Felix Patzelt fe...@neuro.uni-bremen.de wrote: The dmg you are referring to appears to install to /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (The main library, not the one for in our user directory). Most likely, this directory is not in pythons search path. python.org python installs into /Library/Frameworks/Python.framework and its main site-packages directory is the line listed above. That is where *all* packages get installed by default (e.g. by distutils or pip). I suspect the original poster has a conflict with another version of python or another package management system such as homebrew. You can verify which python is running using which python (it should be /usr/local/bin/python, which is a symlink to a binary in /Library/Frameworks/Python.framework, or the actual binary itself, depending on your $PATH. One can test matplotlib using: python -c import matplotlib as m ; m.test(verbosity=1) If that works then I suspect ipython is misinstalled. -- Russell -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib on mac os X with the *.dmg file
Thank you for the information Paul and Felix. I have followed your advice and installed a package manager, pip. However, running: sudo pip install matplotlib did not work. Instead, the key was: sudo pip install git+ https://github.com/matplotlib/matplotlib.git#egg=matplotlib-dev worked well, although I'm not sure why. For archival purposes, I have pasted my notes below for installing python / matplotlib on mac os x. Thanks again, Tim First had to install homebrew (http://mxcl.github.com/homebrew/), ran brew doctor and fixed the appropriate warning messages. Had to add export PATH=/usr/local/bin:$PATH under ~/.bash_profile. Also had to install Xcode from app store, and download Developer Tools under Settings--Downloads. brew doctor brew update Then ran brew install python, but this didnt work. So i installed gfortran instead: brew install gfortran then installed python from python.org. Because I changed the path in the .bash_profile, this version of python was first when I called python. (which python should yield /usr/local/bin/python, and python --version should give 2.7.2) i also used homebrew to install pip, a python module manager, and gfortran: brew install pip brew install gfortran with pip, you can install PIL, scipy, (and nump): sudo pip install pil sudo pip install scipy sudo pip install numpy (but be sure you have gfortran before these) to get matplotlib, instead of: sudo pip install matplotlib do: sudo pip install git+ https://github.com/matplotlib/matplotlib.git#egg=matplotlib-dev this will make ipython --pylab work correctly Also: I had to install the 32 bit version of python-- not sure if 64/32 bit works... Doesn't matter which version you downloadhttp://www.python.org/download/ To remove python (from here http://docs.python.org/using/mac.html), 1. remove /Applications/Python 2.x 2. remove the framework folder: /Library/Frameworks/Python.framework 3. you can remove the symbolic link too,... To remove matplotlib, here http://matplotlib.sourceforge.net/faq/troubleshooting_faq.html#locating-matplotlib-install On Fri, Aug 17, 2012 at 5:09 PM, Felix Patzelt fe...@neuro.uni-bremen.dewrote: The dmg you are referring to appears to install to /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (The main library, not the one for in our user directory). Most likely, this directory is not in pythons search path. Therefore, python can't find any modules installed there. To verify this, first check, whether this directory exists. Then start ipython and enter: from sys import path path Path is a list of all paths which are searched for installed modules. If my suspicion is correct, the directory where you installed matplotlib is not in the list. You can just add it path.append('/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages') and then import matplotlib. However, you have add it to your path again every time you start a new session. To add it permanently, put an otherwise empty text file which includes the path and place it in one of the directories that are already on the search path. You have add a .pth suffix to this text file when you save it. Best, Felix ps: There are many ways to install python and packages and all are more complicated to what you are used to from the mac - welcome to the world of unix / linux software... Still, I have been successful using either macports (slow, but reliable) as well as distribute and pip. I recommend macports which creates a new installation for everything you want / need in /opt. It can also install all of the ipython optional dependencies like the qtconsole and the notebook which cannot be done using pure python package managers. Am 17.08.2012 um 23:30 schrieb Timothy Duly: Hi, I'm having trouble installing matplotlib on mac os x. I downloaded the dmg file (matplotlib-1.1.1-py2.7-python.org-macosx10.6.dmghttp://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/matplotlib-1.1.1-py2.7-python.org-macosx10.6.dmg/download ) from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/. I was able to install this package. Beforehand, I installed python from python.org (I read about the need to do this rather than use the shipped python for mac os x). So, the original python is in /usr/bin/python and the other, newer one, is in /usr/local/bin/python. However, after running ipython -pylab, I get an error message: Python 2.7.1 (r271:86832, Aug 5 2011, 03:30:24) Type copyright, credits or license for more information. IPython 0.13 -- An enhanced Interactive Python. ? - Introduction and overview of IPython's features. %quickref - Quick reference. help - Python's own help system. object? - Details about 'object', use 'object??' for extra details. [TerminalIPythonApp] GUI event loop or pylab initialization failed
[Matplotlib-users] installing matplotlib on mac os X with the *.dmg file
Hi, I'm having trouble installing matplotlib on mac os x. I downloaded the dmg file (matplotlib-1.1.1-py2.7-python.org-macosx10.6.dmghttp://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/matplotlib-1.1.1-py2.7-python.org-macosx10.6.dmg/download ) from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/. I was able to install this package. Beforehand, I installed python from python.org (I read about the need to do this rather than use the shipped python for mac os x). So, the original python is in /usr/bin/python and the other, newer one, is in /usr/local/bin/python. However, after running ipython -pylab, I get an error message: Python 2.7.1 (r271:86832, Aug 5 2011, 03:30:24) Type copyright, credits or license for more information. IPython 0.13 -- An enhanced Interactive Python. ? - Introduction and overview of IPython's features. %quickref - Quick reference. help - Python's own help system. object? - Details about 'object', use 'object??' for extra details. [TerminalIPythonApp] GUI event loop or pylab initialization failed --- ImportError Traceback (most recent call last) /Library/Python/2.7/site-packages/ipython-0.13-py2.7.egg/IPython/core/pylabtools.pyc in find_gui_and_backend(gui) 194 195 -- 196 import matplotlib 197 198 if gui and gui != 'auto': ImportError: No module named matplotlib It seems that I don't have a module-- but I just installed it? Side note: I've read to the best of my ability this page here, http://matplotlib.sourceforge.net/faq/installing_faq.html#os-x-notes , but there seems to be a disconnect on this page between the actual installation procedure. For example, no where on this page does it mention about a *.dmg file, yet the sourceforge site has the *.dmg file. And this help site mentions *.zip files, but this time the sourceforge download page does not have any *.zip files! What is going on here? Thanks, Tim -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib on mac os X with the *.dmg file
On Fri, Aug 17, 2012 at 2:30 PM, Timothy Duly timdu...@gmail.com wrote: Hi, I'm having trouble installing matplotlib on mac os x. I downloaded the dmg file (matplotlib-1.1.1-py2.7-python.org-macosx10.6.dmg) from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/ . I was able to install this package. Beforehand, I installed python from python.org (I read about the need to do this rather than use the shipped python for mac os x). So, the original python is in /usr/bin/python and the other, newer one, is in /usr/local/bin/python. However, after running ipython -pylab, I get an error message: Python 2.7.1 (r271:86832, Aug 5 2011, 03:30:24) Type copyright, credits or license for more information. IPython 0.13 -- An enhanced Interactive Python. ? - Introduction and overview of IPython's features. %quickref - Quick reference. help - Python's own help system. object? - Details about 'object', use 'object??' for extra details. [TerminalIPythonApp] GUI event loop or pylab initialization failed --- ImportError Traceback (most recent call last) /Library/Python/2.7/site-packages/ipython-0.13-py2.7.egg/IPython/core/pylabtools.pyc in find_gui_and_backend(gui) 194 195 -- 196 import matplotlib 197 198 if gui and gui != 'auto': ImportError: No module named matplotlib It seems that I don't have a module-- but I just installed it? Side note: I've read to the best of my ability this page here, http://matplotlib.sourceforge.net/faq/installing_faq.html#os-x-notes , but there seems to be a disconnect on this page between the actual installation procedure. For example, no where on this page does it mention about a *.dmg file, yet the sourceforge site has the *.dmg file. And this help site mentions *.zip files, but this time the sourceforge download page does not have any *.zip files! What is going on here? Thanks, Tim I can't comment on specifics, but things to watch out for: 1) Native Mac OS X's python vs python.org's python (the latter is preferred) 2) Numpy and other dependancies Personally, I've had the best luck with the approach laid out here: http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/ Best of luck, -paul -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib on mac os X with the *.dmg file
The dmg you are referring to appears to install to /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (The main library, not the one for in our user directory). Most likely, this directory is not in pythons search path. Therefore, python can't find any modules installed there. To verify this, first check, whether this directory exists. Then start ipython and enter: from sys import path path Path is a list of all paths which are searched for installed modules. If my suspicion is correct, the directory where you installed matplotlib is not in the list. You can just add it path.append('/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages') and then import matplotlib. However, you have add it to your path again every time you start a new session. To add it permanently, put an otherwise empty text file which includes the path and place it in one of the directories that are already on the search path. You have add a .pth suffix to this text file when you save it. Best, Felix ps: There are many ways to install python and packages and all are more complicated to what you are used to from the mac - welcome to the world of unix / linux software... Still, I have been successful using either macports (slow, but reliable) as well as distribute and pip. I recommend macports which creates a new installation for everything you want / need in /opt. It can also install all of the ipython optional dependencies like the qtconsole and the notebook which cannot be done using pure python package managers. Am 17.08.2012 um 23:30 schrieb Timothy Duly: Hi, I'm having trouble installing matplotlib on mac os x. I downloaded the dmg file (matplotlib-1.1.1-py2.7-python.org-macosx10.6.dmg) from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.1.1/ . I was able to install this package. Beforehand, I installed python from python.org (I read about the need to do this rather than use the shipped python for mac os x). So, the original python is in /usr/bin/python and the other, newer one, is in /usr/local/bin/python. However, after running ipython -pylab, I get an error message: Python 2.7.1 (r271:86832, Aug 5 2011, 03:30:24) Type copyright, credits or license for more information. IPython 0.13 -- An enhanced Interactive Python. ? - Introduction and overview of IPython's features. %quickref - Quick reference. help - Python's own help system. object? - Details about 'object', use 'object??' for extra details. [TerminalIPythonApp] GUI event loop or pylab initialization failed --- ImportError Traceback (most recent call last) /Library/Python/2.7/site-packages/ipython-0.13-py2.7.egg/IPython/core/pylabtools.pyc in find_gui_and_backend(gui) 194 195 -- 196 import matplotlib 197 198 if gui and gui != 'auto': ImportError: No module named matplotlib It seems that I don't have a module-- but I just installed it? Side note: I've read to the best of my ability this page here, http://matplotlib.sourceforge.net/faq/installing_faq.html#os-x-notes , but there seems to be a disconnect on this page between the actual installation procedure. For example, no where on this page does it mention about a *.dmg file, yet the sourceforge site has the *.dmg file. And this help site mentions *.zip files, but this time the sourceforge download page does not have any *.zip files! What is going on here? Thanks, Tim -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Installing Matplotlib and Basemap on Ubuntu 11.04 and later upgraded to 11.10
Dear all, Sorry if somebody has posted the same thing previously. I just want to share my experience on installing Matplotlib on my Ubuntu 11.04 and later was upgraded to 11.10 (got problem with Matplotlib after upgrading to 11.10 but solved already). I hope it helps. Feel free to visit this link: http://sakaesoua6.blogspot.com/2011/10/installing-matplotlib-basemap-101-on.html Cheers! -- luq -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib on Tiger
On Sun, Nov 7, 2010 at 5:10 AM, Friedrich Romstedt friedrichromst...@gmail.com wrote: Hi, A.S.: Ralf, wasn't the reason why we shifted to Vincent's build machine running 10.5, because numpy didn't run on 10.4 when built on 10.6? No, the numpy installers have never had a problem on 10.4 AFAIK. The issue was that installers built on 10.6 would (on some but not all machines) fail on 10.5. 2010/11/2 pablomos pa...@princeton.edu: I attempted to install Pylab on my own computer and so far have had no success. I followed these steps: 1) downloaded Python 2.6 for OS 10.4 2) downloaded the corresponding numpy and installed it (successfully) 3) downloaded the corresponding matplotlib (matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg) and installed it [One possible cause for the error is that, though the package includes macosx10.4, the actual installing package (which one can see if one tries a customized install) says macosx10.5.] This is due to a bug in bdist_mpkg probably, used to generate those binaries on a 10.5 system, although the MACOSX_DEPLOYMENT_TARGET was 10.4 or 10.3 (as I strongly believe), the installer outputs somehow -10.5 when run. I don't know details. This is just a file name, not necessarily the cause of any error during installation. Cheers, Ralf -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book Blueprint to a Billion shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib on Tiger
Hi, A.S.: Ralf, wasn't the reason why we shifted to Vincent's build machine running 10.5, because numpy didn't run on 10.4 when built on 10.6? 2010/11/2 pablomos pa...@princeton.edu: I attempted to install Pylab on my own computer and so far have had no success. I followed these steps: 1) downloaded Python 2.6 for OS 10.4 2) downloaded the corresponding numpy and installed it (successfully) 3) downloaded the corresponding matplotlib (matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg) and installed it [One possible cause for the error is that, though the package includes macosx10.4, the actual installing package (which one can see if one tries a customized install) says macosx10.5.] This is due to a bug in bdist_mpkg probably, used to generate those binaries on a 10.5 system, although the MACOSX_DEPLOYMENT_TARGET was 10.4 or 10.3 (as I strongly believe), the installer outputs somehow -10.5 when run. I don't know details. Of course it is contradictory to my above assumtion that the build was carried out on a 10.6 ... 4) Attempted to run Python and import Pylab. I got an error related to _tkinter not being found (even though it is installed). I looked all over the forums for this error, and it seems that the only solution is to edit the setup.py file and recompile matplotlib. However, because I installed from a binary, I cannot do this. So I attempted to install from source: Can you give more details on the _tkinter error, is it matplotlib specific, or does it mean the Python _tkinter if such one exists at all? It's kinda strange. 5) I downloaded matplotlib-1.0.0.tar.gz and untarred it. Then I ran: 'make' (which supposedly takes care of finding out where all the Mac stuff is located) and For Python packages, ``make`` is *usually* not used. Indeed, matplotlib is an exception here (see below). 'python setup.py build', the default command for building Python modules. Now I get a ton of errors, the first one being: freetype2: found, but unknown version (no pkg-config) * WARNING: Could not find 'freetype2' headers in any * of '.', './freetype2'. You got it. If you have freetype2 and libpng installed on your system, just have a look at setupext.py, and add the installation root path (most likely '/usr/local') to the 'darwin' section. It is left out because of problems on 10.4, but on your 10.4 system it should work. It's the most easy solution if. If you don't have freetype2 installed / libpng, and you really want to compile from source (if we cannot sort out the _tkinter thingy), then there are two ways: Hard-core installation by compiling them yourself, or assisted by make.osx. I personally cannot give you advice with the more easy make.osx way, but be aware of that also this compiles and installs the libs. For the hard-core way you might find my docs on that useful (it's intended for 10.6, so feedback from 10.4 users is welcome): http://vincentdavis.info/Shared/Docs/matplotlib-installation/build/html/. Vincent is hosting that site, gratefully acknowledged. As a third try, I attempted to install using easy_install, a tool for installing Python modules: 6) I ran 'easy_install matplotlib'. This runs very quickly (suspicious) 7) The same error as in step 4 comes up when trying to import pylab I went into /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ and deleted all matplotlib-related stuff, thinking that maybe easy_install didn't do anything because matplotlib was already installed 9) Repeated step 6, and saw the same errors that came up when trying to install from source You mean easy_install wanted to install from source?? Btw, the binaries *should* work. It looks like kind of failure of the binaries. Might be that I'm missing something, though. Hope you find this useful, Friedrich [Don't forget to reply to all and not only me.] -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book Blueprint to a Billion shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Installing matplotlib on Tiger
I attempted to install Pylab on my own computer and so far have had no success. I followed these steps: 1) downloaded Python 2.6 for OS 10.4 2) downloaded the corresponding numpy and installed it (successfully) 3) downloaded the corresponding matplotlib (matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg) and installed it [One possible cause for the error is that, though the package includes macosx10.4, the actual installing package (which one can see if one tries a customized install) says macosx10.5.] 4) Attempted to run Python and import Pylab. I got an error related to _tkinter not being found (even though it is installed). I looked all over the forums for this error, and it seems that the only solution is to edit the setup.py file and recompile matplotlib. However, because I installed from a binary, I cannot do this. So I attempted to install from source: 5) I downloaded matplotlib-1.0.0.tar.gz and untarred it. Then I ran: 'make' (which supposedly takes care of finding out where all the Mac stuff is located) and 'python setup.py build', the default command for building Python modules. Now I get a ton of errors, the first one being: freetype2: found, but unknown version (no pkg-config) * WARNING: Could not find 'freetype2' headers in any * of '.', './freetype2'. As a third try, I attempted to install using easy_install, a tool for installing Python modules: 6) I ran 'easy_install matplotlib'. This runs very quickly (suspicious) 7) The same error as in step 4 comes up when trying to import pylab I went into /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/ and deleted all matplotlib-related stuff, thinking that maybe easy_install didn't do anything because matplotlib was already installed 9) Repeated step 6, and saw the same errors that came up when trying to install from source Any ideas? Thanks, Pablo -- View this message in context: http://old.nabble.com/Installing-matplotlib-on-Tiger-tp30112187p30112187.html Sent from the matplotlib - users mailing list archive at Nabble.com. -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book Blueprint to a Billion shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard
Hello, I didn't mean it bad for the people at macports. I know you are working very hard and you have all of my respect, honestly. I was confusing, sorry. My personal problem is that somebody convinced me about the it's-so-easy-ness of apple's products and I thought I would give it a shot. This was for me a nightmare because I felt like tight up when using that mac book pro. It was not only that I found it difficult to install matplotlib, but many other things were hard and difficult to understand... if you want to go *your* way and not apple's way. For instance encryption... take this as an example http://www.aei.mpg.de/~pau/Encrypt_Users.html In any case, again, yo have all of my respect and I thank you for helping me out when I had the macbook pro with your effort by porting all of that software. Pau 2010/10/28 Benjamin Root ben.r...@ou.edu: On Wed, Oct 27, 2010 at 4:19 PM, Pau vim.u...@googlemail.com wrote: Sorry for being negative, but it's reassuring that I took the right decision when I gave back my macbook pro to IT and asked for a thinkpad instead and I installed UNIX on it. You know what I did to install matplotlib on my OpenBSD laptop? pkg_add py-matplotlib And after 1 minute it was up and running... sorry! Just to keep in mind, there is a lot of work that goes into getting packages working for any particular distribution (which then presents to you as a seamless operation). Along with Friedrich for his efforts in improving packaging for MacOS, be sure to thank your local distro maintainers for their tireless efforts to making the *nix environments one of the best to develop in. Ben Root -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard
SORRY DON'T USE IT FOR NOW There was some mistake even in the freetype instructions. I was tooo quick. I will post once I've tested everything. cu Friedrich 2010/10/27 Friedrich Romstedt friedrichromst...@gmail.com: Maybe you can make use of this, it's not complete but I'll work on it tomorrow. ESPECIALLY for the libpng there is a trick to make fat libpng. http://vincentdavis.info/Shared/Docs/matplotlib-installation/build/html/Macosx10.6.html Maybe you can complete the sections which are in. Friedrich -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard
Maybe you can make use of this, it's not complete but I'll work on it tomorrow. ESPECIALLY for the libpng there is a trick to make fat libpng. http://vincentdavis.info/Shared/Docs/matplotlib-installation/build/html/Macosx10.6.html Maybe you can complete the sections which are in. Friedrich -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard
Sorry for being negative, but it's reassuring that I took the right decision when I gave back my macbook pro to IT and asked for a thinkpad instead and I installed UNIX on it. You know what I did to install matplotlib on my OpenBSD laptop? pkg_add py-matplotlib And after 1 minute it was up and running... sorry! 2010/10/27 Friedrich Romstedt friedrichromst...@gmail.com: Maybe you can make use of this, it's not complete but I'll work on it tomorrow. ESPECIALLY for the libpng there is a trick to make fat libpng. http://vincentdavis.info/Shared/Docs/matplotlib-installation/build/html/Macosx10.6.html Maybe you can complete the sections which are in. Friedrich -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard
On Wed, Oct 27, 2010 at 4:19 PM, Pau vim.u...@googlemail.com wrote: Sorry for being negative, but it's reassuring that I took the right decision when I gave back my macbook pro to IT and asked for a thinkpad instead and I installed UNIX on it. You know what I did to install matplotlib on my OpenBSD laptop? pkg_add py-matplotlib And after 1 minute it was up and running... sorry! Just to keep in mind, there is a lot of work that goes into getting packages working for any particular distribution (which then presents to you as a seamless operation). Along with Friedrich for his efforts in improving packaging for MacOS, be sure to thank your local distro maintainers for their tireless efforts to making the *nix environments one of the best to develop in. Ben Root -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard
Just got a little bit of spare time and looked up some words and remembered what I wrote you. I just want to clarify: 1) Not YOU are buggin us/me. Just the subject is keeping us writing emails to bugged users. 2) I used this word (to bug) in the wrong sense. I looked it up now and it was not what I intended. I meant it as a derivative from the bug, which is indeed a nice pun as I recognise from this. Sorry if you're feeling a bit offended because of this, I guess I was not in good mood, Friedrich 2010/10/20 Friedrich Romstedt friedrichromst...@gmail.com: 2010/10/20 James Battat jbat...@mit.edu: Hi, I'm having trouble with my built-from-source installation of matplotlib on Snow Leopard (I also tried installing from the .dmg file, but that install failed -- see below for details). *SIGH* *SIGH* YEAH, this keeps bugging us. Please do a search in Gmane (http:/gmane.org, search for matplotlib-users ...) for Mac OS X 10.6 or Snow Leopard and from source or compilation or whatever you feel like. You'll find a bunch of messages, many of them quite long, but be sure: It's solvable! I'll write it up somewhen and put it to the webpage if the developers allow me for. So many ASAP thingys currently ... Anyway, don't be frustrated by the many details, and start with the *recent* messages, and believe them more than the old ones. In the end, when you got a complete and non-conflicting image, compile again. You'll also need to compile the libpng and libfreetype2 I believe. Try to avoid or use as last rescue make.osx, it'll install old libs in your /usr/local namespace! Please apologise me, I'm getting tired of explaining it again and again, sorry again, good success with your studies, Friedrich Don't hesitate to ask questions but I cannot explain it from the very beginning, it'll also be wasting of storage :-) Second: The dmg installer requires python.org Python, not Apple one. The Apple one is said to be whacky, but I don't know any details. Just use python.org MacPython, where mpl dmg installer is compiled against and should work from the very beginning. Compile if you need svn bleeding-edge. Third: The installer *might* still have the bug of wrong rights for some images used in the toolbar, so if you find those, don't be surprised. It's some missing read right in POSIX. But it might be fixed now, though then I missed it. I downloaded: matplotlib-1.0.0.tar.gz and then built and installed: tar xvzf matplotlib-1.0.0.tar.gz cd matplotlib-1.0.0 python setup.py build python setup.py install Then tried using pylab: cd python Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type help, copyright, credits or license for more information. import pylab Traceback (most recent call last): File stdin, line 1, in module File /Library/Python/2.6/site-packages/pylab.py, line 1, in module from matplotlib.pylab import * File /Library/Python/2.6/site-packages/matplotlib/pylab.py, line 216, in module from matplotlib import mpl # pulls in most modules File /Library/Python/2.6/site-packages/matplotlib/mpl.py, line 2, in module from matplotlib import axis File /Library/Python/2.6/site-packages/matplotlib/axis.py, line 10, in module import matplotlib.font_manager as font_manager File /Library/Python/2.6/site-packages/matplotlib/font_manager.py, line 52, in module from matplotlib import ft2font ImportError: dlopen(/Library/Python/2.6/site-packages/matplotlib/ft2font.so, 2): Symbol not found: _FT_Attach_File Referenced from: /Library/Python/2.6/site-packages/matplotlib/ft2font.so Expected in: flat namespace in /Library/Python/2.6/site-packages/matplotlib/ft2font.so I've seen both of these problems listed elsewhere, but no solution posted: http://www.mailinglistarchive.com/html/matplotlib-users@lists.sourceforge.net/2010-09/msg00091.html Any help is greatly appreciated. Here's information on my environment: Mac OS X 10.6.4 uname -a Darwin My-MacBook-Pro.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 I was building from source because I was not able to install from the DMG installer (matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg). When I tried the .dmg installer, I got the following message: matplotlib 1.0.0-r0 can't be installed on this disk. matplotlib requires System Python 2.6 to install Thanks for your help, James -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___
[Matplotlib-users] Installing matplotlib from source on Snow Leopard
Hi, I'm having trouble with my built-from-source installation of matplotlib on Snow Leopard (I also tried installing from the .dmg file, but that install failed -- see below for details). I downloaded: matplotlib-1.0.0.tar.gz and then built and installed: tar xvzf matplotlib-1.0.0.tar.gz cd matplotlib-1.0.0 python setup.py build python setup.py install Then tried using pylab: cd python Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type help, copyright, credits or license for more information. import pylab Traceback (most recent call last): File stdin, line 1, in module File /Library/Python/2.6/site-packages/pylab.py, line 1, in module from matplotlib.pylab import * File /Library/Python/2.6/site-packages/matplotlib/pylab.py, line 216, in module from matplotlib import mpl # pulls in most modules File /Library/Python/2.6/site-packages/matplotlib/mpl.py, line 2, in module from matplotlib import axis File /Library/Python/2.6/site-packages/matplotlib/axis.py, line 10, in module import matplotlib.font_manager as font_manager File /Library/Python/2.6/site-packages/matplotlib/font_manager.py, line 52, in module from matplotlib import ft2font ImportError: dlopen(/Library/Python/2.6/site-packages/matplotlib/ft2font.so, 2): Symbol not found: _FT_Attach_File Referenced from: /Library/Python/2.6/site-packages/matplotlib/ft2font.so Expected in: flat namespace in /Library/Python/2.6/site-packages/matplotlib/ft2font.so I've seen both of these problems listed elsewhere, but no solution posted: http://www.mailinglistarchive.com/html/matplotlib-users@lists.sourceforge.net/2010-09/msg00091.html Any help is greatly appreciated. Here's information on my environment: Mac OS X 10.6.4 uname -a Darwin My-MacBook-Pro.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 I was building from source because I was not able to install from the DMG installer (matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg). When I tried the .dmg installer, I got the following message: matplotlib 1.0.0-r0 can't be installed on this disk. matplotlib requires System Python 2.6 to install Thanks for your help, James -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib from source on Snow Leopard
2010/10/20 James Battat jbat...@mit.edu: Hi, I'm having trouble with my built-from-source installation of matplotlib on Snow Leopard (I also tried installing from the .dmg file, but that install failed -- see below for details). *SIGH* *SIGH* YEAH, this keeps bugging us. Please do a search in Gmane (http:/gmane.org, search for matplotlib-users ...) for Mac OS X 10.6 or Snow Leopard and from source or compilation or whatever you feel like. You'll find a bunch of messages, many of them quite long, but be sure: It's solvable! I'll write it up somewhen and put it to the webpage if the developers allow me for. So many ASAP thingys currently ... Anyway, don't be frustrated by the many details, and start with the *recent* messages, and believe them more than the old ones. In the end, when you got a complete and non-conflicting image, compile again. You'll also need to compile the libpng and libfreetype2 I believe. Try to avoid or use as last rescue make.osx, it'll install old libs in your /usr/local namespace! Please apologise me, I'm getting tired of explaining it again and again, sorry again, good success with your studies, Friedrich Don't hesitate to ask questions but I cannot explain it from the very beginning, it'll also be wasting of storage :-) Second: The dmg installer requires python.org Python, not Apple one. The Apple one is said to be whacky, but I don't know any details. Just use python.org MacPython, where mpl dmg installer is compiled against and should work from the very beginning. Compile if you need svn bleeding-edge. Third: The installer *might* still have the bug of wrong rights for some images used in the toolbar, so if you find those, don't be surprised. It's some missing read right in POSIX. But it might be fixed now, though then I missed it. I downloaded: matplotlib-1.0.0.tar.gz and then built and installed: tar xvzf matplotlib-1.0.0.tar.gz cd matplotlib-1.0.0 python setup.py build python setup.py install Then tried using pylab: cd python Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type help, copyright, credits or license for more information. import pylab Traceback (most recent call last): File stdin, line 1, in module File /Library/Python/2.6/site-packages/pylab.py, line 1, in module from matplotlib.pylab import * File /Library/Python/2.6/site-packages/matplotlib/pylab.py, line 216, in module from matplotlib import mpl # pulls in most modules File /Library/Python/2.6/site-packages/matplotlib/mpl.py, line 2, in module from matplotlib import axis File /Library/Python/2.6/site-packages/matplotlib/axis.py, line 10, in module import matplotlib.font_manager as font_manager File /Library/Python/2.6/site-packages/matplotlib/font_manager.py, line 52, in module from matplotlib import ft2font ImportError: dlopen(/Library/Python/2.6/site-packages/matplotlib/ft2font.so, 2): Symbol not found: _FT_Attach_File Referenced from: /Library/Python/2.6/site-packages/matplotlib/ft2font.so Expected in: flat namespace in /Library/Python/2.6/site-packages/matplotlib/ft2font.so I've seen both of these problems listed elsewhere, but no solution posted: http://www.mailinglistarchive.com/html/matplotlib-users@lists.sourceforge.net/2010-09/msg00091.html Any help is greatly appreciated. Here's information on my environment: Mac OS X 10.6.4 uname -a Darwin My-MacBook-Pro.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 I was building from source because I was not able to install from the DMG installer (matplotlib-1.0.0-python.org-py2.6-macosx10.4.dmg). When I tried the .dmg installer, I got the following message: matplotlib 1.0.0-r0 can't be installed on this disk. matplotlib requires System Python 2.6 to install Thanks for your help, James -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib on MacOS X 10.6.4
2010/9/10 Yannis Haralambous yannis.haralamb...@telecom-bretagne.eu: when I launch the DMG installer matplotlib-1.0.0-python.org-py2.6-macosx10.4.mpkg I get an error message, that my volume does not contain System Python 2.6. I'm running a standard MacOS X 10.6.4 with python 2.6.1 running from /usr/bin And I do have Python 2.6 installed in /System/Library/Frameworks/Python.framework/Versions/2.6 Why does the installer doesn't sees it? Several possible reasons: 1) You installed Python from source. In this case, since the mpl installer checks using the Apple package system (yes, there is actually a package system on Mac!), and installing from source of course does not register with this, the installer wouldn't be able to find the Python package. 2) There is a mistake in the matplotlib installer. This happened before already. 3) You're not running Python from the python.org installer, but rather Python from Apple. 4) I noticed that you're using the macosx10.4 installer, but you said you're on 10.6? Libraries on 10.6 are built with gcc-4.2, and the libs from the 10.4 bundle are built certainly with gcc-4.0. In this case it cannot load the gcc-4.2 built libraries. You can try to search the /matplotlib/ threads for this, we had several threads on this before. I remember no issue atm on this list about this not solved. But I may overestimate. You can also keep asking. Btw, where does your freetype2 come from? How did your build find it (i.e., do you have pkg-config or not)? Friedrich -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Installing matplotlib on MacOS X 10.6.4
dear Matplotlib users, I can't manage to install matplotlib correctly on MacOS X 10.6.4. when I launch the DMG installer matplotlib-1.0.0-python.org-py2.6-macosx10.4.mpkg I get an error message, that my volume does not contain System Python 2.6. I'm running a standard MacOS X 10.6.4 with python 2.6.1 running from /usr/bin And I do have Python 2.6 installed in /System/Library/Frameworks/Python.framework/Versions/2.6 Why does the installer doesn't sees it? The reason I wanted to install matplotlib directly from DMG is that when I built it from source and then tried to use it, I got the error: Traceback (most recent call last): File ./herbscmd.py, line 163, in module sys.exit(main(sys.argv)) File ./herbscmd.py, line 156, in main from matplotlib.pylab import show,draw File /Library/Python/2.6/site-packages/matplotlib/pylab.py, line 216, in module from matplotlib import mpl # pulls in most modules File /Library/Python/2.6/site-packages/matplotlib/mpl.py, line 2, in module from matplotlib import axis File /Library/Python/2.6/site-packages/matplotlib/axis.py, line 10, in module import matplotlib.font_manager as font_manager File /Library/Python/2.6/site-packages/matplotlib/font_manager.py, line 52, in module from matplotlib import ft2font ImportError: dlopen(/Library/Python/2.6/site-packages/matplotlib/ft2font.so, 2): Symbol not found: _FT_Attach_File Referenced from: /Library/Python/2.6/site-packages/matplotlib/ft2font.so Expected in: flat namespace in /Library/Python/2.6/site-packages/matplotlib/ft2font.so I noticed that many people had that same error (just google on _FT_Attach_File, you will see) but I couldn't find a solution anywhere. This is why I turned to DMG installation, but it doesn't seem to work either. Could anyone help? Thanks in advance! -- --- Yannis Haralambous Directeur d'études Institut Télécom, Télécom Bretagne Département Informatique UMR CNRS 3192 Lab-STICC Technopôle Brest Iroise CS 83818, 29238 Brest Cedex 3, France Tel: +33 2 29 00 14 27 Fax: +33 2 29 00 12 82 Email: yannis.haralamb...@telecom-bretagne.eu Internet: http://omega.enstb.org/yannis ICBM address: 48°21'31.57N 4°34'16.76W --- ...pour distinguer l'extérieur d'un aquarium, mieux vaut n'être pas poisson ...the ball I threw while playing in the park has not yet reached the ground Es gab eine Zeit, wo ich nur ungern über Schubert sprechen, nur Nächtens den Bäumen und Sternen von ihm vorerzählen mögen. BEGIN:VCARD VERSION:3.0 N:Haralambous;Yannis;;; FN:Yannis Haralambous ORG:Enseignant-chercheur\, TELECOM Bretagne; EMAIL;type=INTERNET;type=WORK;type=pref:yannis.haralamb...@telecom-bretagne.eu TEL;type=WORK;type=pref:+33 229001427 TEL;type=CELL:+33 607981626 TEL;type=WORK;type=FAX:+33 229001282 item1.ADR;type=WORK;type=pref:;;Département Informatique\, TELECOM Bretagne\, CS 83818;Brest Cedex 3;;29238;France item1.X-ABADR:fr X-ABUID:CD3E6B27-C13F-40A4-B2F7-8393D5CE6493\:ABPerson END:VCARD -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Installing MatPlotLib on Snow Leopard
Good morning list, I have been trying to install the latest matplotlib on Snow Leopard with the latest X-Code for a few days. I have tried the installer packages (wrong versions) and the source (build errors) and neither worked. I finally got it installed correctly by using MacPorts. I wrote up what I did in case anyone else is having issues installing on Snow Leopard [1]. Cheers, Daniel [1] - http://www.endlesslycurious.com/2009/12/08/installing-matplotlib-on-snow-leopard-with-macports/ -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Installing matplotlib with Mac OS 10.6
Hello. I am finding it very difficult to install matplotlib with snow leopard. I have the Apple XCODE installed along with numpy (which I have tested and works) and am running the python 2.6 version that comes with the Mac. I have run into the following problems: 1) The diskimage installation: When I open the installer, I am told that I can not install matplotlib on my disk because I do not have a system version of python 2.6. I do not understand this error since I am running the default version (which is 2.6.1). 2) As another person on the list pointed out, easy_install matplotlib tries to install an older version that does not work with the newer version of numpy. 3) I downloaded the matplotlib-0.99.1.1-py2.6 egg. I was able to install matplotlib, seemingly. When I import pylab into python, I do not get any errors. However, I do get an error when I try to plot. With the default backend TkAgg (version 8.5), I get the following error when I try to plot: _tkinter.TclError: integer value too large to represent When I try to change the backend to MacOSX, a window opens labeled Figure 1, but nothing plots. With the verbose level on helpful, I find only that backend MacOSX version unknown. Has anyone seen any of these problems before and have an idea as to how to fix this? If not, is there another method that I should try (I'm hesitant to try to build/install from the source). Thank you for any help! -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6
Hi Lisa, I had lots of trouble installing on 10.6 as well. What finally worked for me is to use the (recommended) file make.osx that comes with the matplotlib download. You have to edit that file to point to the versions of Python (you want 2.6) and OSX (you want 10.6). I'm attaching a version that has all these edits already made. (I'm assuming you have an intel Mac, not a ppc). Look at the top of the file and you will see an example command line that begins with PREFIX. You'll execute that command line with the example directory changed to your directory and I highly recommend choosing the directory /Users/(whatever your user name is)/.local All the libraries will be installed there and Python will know how to find them even without explicitly putting them in any PATH variable. This command line will even check for required dependencies like freetype2, pnglib, ... And will go them and install them for you if you don't already have them. The command line should look like: sudo PREFIX=/Users/(your username)/.local make -f make.osx fetch deps mpl_install Good luck, Bill On 12/2/09 12:31 PM, Lisa M Winter lisa.win...@colorado.edu wrote: Hello. I am finding it very difficult to install matplotlib with snow leopard. I have the Apple XCODE installed along with numpy (which I have tested and works) and am running the python 2.6 version that comes with the Mac. I have run into the following problems: 1) The diskimage installation: When I open the installer, I am told that I can not install matplotlib on my disk because I do not have a system version of python 2.6. I do not understand this error since I am running the default version (which is 2.6.1). 2) As another person on the list pointed out, easy_install matplotlib tries to install an older version that does not work with the newer version of numpy. 3) I downloaded the matplotlib-0.99.1.1-py2.6 egg. I was able to install matplotlib, seemingly. When I import pylab into python, I do not get any errors. However, I do get an error when I try to plot. With the default backend TkAgg (version 8.5), I get the following error when I try to plot: _tkinter.TclError: integer value too large to represent When I try to change the backend to MacOSX, a window opens labeled Figure 1, but nothing plots. With the verbose level on helpful, I find only that backend MacOSX version unknown. Has anyone seen any of these problems before and have an idea as to how to fix this? If not, is there another method that I should try (I'm hesitant to try to build/install from the source). Thank you for any help! -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users make.osx Description: Binary data -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6
Thanks for the pointers, Bill. I tried installing from source as you suggested, but I am getting the same errors when I try to plot. What backend are you using? Here is what I get when I try using TkAgg: casa98-125-dhcp:.matplotlib lisa$ python simple_plot.py --verbose- helpful $HOME=/Users/lisa matplotlib data path /Users/lisa/.local/lib/python2.6/site-packages/ matplotlib/mpl-data loaded rc file /Users/lisa/.matplotlib/matplotlibrc matplotlib version 0.99.1.1 verbose.level helpful interactive is True units is False platform is darwin CONFIGDIR=/Users/lisa/.matplotlib Using fontManager instance from /Users/lisa/.matplotlib/fontList.cache backend TkAgg version 8.5 Traceback (most recent call last): File simple_plot.py, line 2, in module plot([1,2,3]) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 2134, in plot ax = gca() File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 582, in gca ax = gcf().gca(**kwargs) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 276, in gcf return figure() File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 254, in figure **kwargs) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ backends/backend_tkagg.py, line 91, in new_figure_manager canvas = FigureCanvasTkAgg(figure, master=window) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ backends/backend_tkagg.py, line 158, in __init__ master=self._tkcanvas, width=w, height=h) File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/lib-tk/Tkinter.py, line 3284, in __init__ Image.__init__(self, 'photo', name, cnf, master, **kw) File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/lib-tk/Tkinter.py, line 3240, in __init__ self.tk.call(('image', 'create', imgtype, name,) + options) _tkinter.TclError: integer value too large to represent Lisa On Dec 2, 2009, at 2:17 PM, William Carithers wrote: Hi Lisa, I had lots of trouble installing on 10.6 as well. What finally worked for me is to use the (recommended) file make.osx that comes with the matplotlib download. You have to edit that file to point to the versions of Python (you want 2.6) and OSX (you want 10.6). I'm attaching a version that has all these edits already made. (I'm assuming you have an intel Mac, not a ppc). Look at the top of the file and you will see an example command line that begins with PREFIX. You'll execute that command line with the example directory changed to your directory and I highly recommend choosing the directory /Users/(whatever your user name is)/.local All the libraries will be installed there and Python will know how to find them even without explicitly putting them in any PATH variable. This command line will even check for required dependencies like freetype2, pnglib, ... And will go them and install them for you if you don't already have them. The command line should look like: sudo PREFIX=/Users/(your username)/.local make -f make.osx fetch deps mpl_install Good luck, Bill On 12/2/09 12:31 PM, Lisa M Winter lisa.win...@colorado.edu wrote: Hello. I am finding it very difficult to install matplotlib with snow leopard. I have the Apple XCODE installed along with numpy (which I have tested and works) and am running the python 2.6 version that comes with the Mac. I have run into the following problems: 1) The diskimage installation: When I open the installer, I am told that I can not install matplotlib on my disk because I do not have a system version of python 2.6. I do not understand this error since I am running the default version (which is 2.6.1). 2) As another person on the list pointed out, easy_install matplotlib tries to install an older version that does not work with the newer version of numpy. 3) I downloaded the matplotlib-0.99.1.1-py2.6 egg. I was able to install matplotlib, seemingly. When I import pylab into python, I do not get any errors. However, I do get an error when I try to plot. With the default backend TkAgg (version 8.5), I get the following error when I try to plot: _tkinter.TclError: integer value too large to represent When I try to change the backend to MacOSX, a window opens labeled Figure 1, but nothing plots. With the verbose level on helpful, I find only that backend MacOSX version unknown. Has anyone seen any of these problems before and have an idea as to how to fix this? If not, is there another method that I should try (I'm hesitant to try to build/install from the source). Thank you for any help! -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your
Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6
Hi Lisa, Hmm. I also use TKAgg with no problems. Looking at your code, it looks like you are trying the first example in the tutorial. Just to be sure, could you post/send a full listing of your simple_plot.py? Thanks, Bill On 12/2/09 2:01 PM, Lisa M Winter lisa.win...@colorado.edu wrote: Thanks for the pointers, Bill. I tried installing from source as you suggested, but I am getting the same errors when I try to plot. What backend are you using? Here is what I get when I try using TkAgg: casa98-125-dhcp:.matplotlib lisa$ python simple_plot.py --verbose- helpful $HOME=/Users/lisa matplotlib data path /Users/lisa/.local/lib/python2.6/site-packages/ matplotlib/mpl-data loaded rc file /Users/lisa/.matplotlib/matplotlibrc matplotlib version 0.99.1.1 verbose.level helpful interactive is True units is False platform is darwin CONFIGDIR=/Users/lisa/.matplotlib Using fontManager instance from /Users/lisa/.matplotlib/fontList.cache backend TkAgg version 8.5 Traceback (most recent call last): File simple_plot.py, line 2, in module plot([1,2,3]) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 2134, in plot ax = gca() File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 582, in gca ax = gcf().gca(**kwargs) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 276, in gcf return figure() File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 254, in figure **kwargs) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ backends/backend_tkagg.py, line 91, in new_figure_manager canvas = FigureCanvasTkAgg(figure, master=window) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ backends/backend_tkagg.py, line 158, in __init__ master=self._tkcanvas, width=w, height=h) File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/lib-tk/Tkinter.py, line 3284, in __init__ Image.__init__(self, 'photo', name, cnf, master, **kw) File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/lib-tk/Tkinter.py, line 3240, in __init__ self.tk.call(('image', 'create', imgtype, name,) + options) _tkinter.TclError: integer value too large to represent Lisa On Dec 2, 2009, at 2:17 PM, William Carithers wrote: Hi Lisa, I had lots of trouble installing on 10.6 as well. What finally worked for me is to use the (recommended) file make.osx that comes with the matplotlib download. You have to edit that file to point to the versions of Python (you want 2.6) and OSX (you want 10.6). I'm attaching a version that has all these edits already made. (I'm assuming you have an intel Mac, not a ppc). Look at the top of the file and you will see an example command line that begins with PREFIX. You'll execute that command line with the example directory changed to your directory and I highly recommend choosing the directory /Users/(whatever your user name is)/.local All the libraries will be installed there and Python will know how to find them even without explicitly putting them in any PATH variable. This command line will even check for required dependencies like freetype2, pnglib, ... And will go them and install them for you if you don't already have them. The command line should look like: sudo PREFIX=/Users/(your username)/.local make -f make.osx fetch deps mpl_install Good luck, Bill On 12/2/09 12:31 PM, Lisa M Winter lisa.win...@colorado.edu wrote: Hello. I am finding it very difficult to install matplotlib with snow leopard. I have the Apple XCODE installed along with numpy (which I have tested and works) and am running the python 2.6 version that comes with the Mac. I have run into the following problems: 1) The diskimage installation: When I open the installer, I am told that I can not install matplotlib on my disk because I do not have a system version of python 2.6. I do not understand this error since I am running the default version (which is 2.6.1). 2) As another person on the list pointed out, easy_install matplotlib tries to install an older version that does not work with the newer version of numpy. 3) I downloaded the matplotlib-0.99.1.1-py2.6 egg. I was able to install matplotlib, seemingly. When I import pylab into python, I do not get any errors. However, I do get an error when I try to plot. With the default backend TkAgg (version 8.5), I get the following error when I try to plot: _tkinter.TclError: integer value too large to represent When I try to change the backend to MacOSX, a window opens labeled Figure 1, but nothing plots. With the verbose level on helpful, I find only that backend MacOSX version unknown. Has anyone seen any of these problems before and have an idea as to how to fix this? If not, is there another method that I should try
Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6
Sure. This is all that it is: from pylab import * plot([1,2,3]) show() On Dec 2, 2009, at 3:42 PM, William Carithers wrote: Hi Lisa, Hmm. I also use TKAgg with no problems. Looking at your code, it looks like you are trying the first example in the tutorial. Just to be sure, could you post/send a full listing of your simple_plot.py? Thanks, Bill On 12/2/09 2:01 PM, Lisa M Winter lisa.win...@colorado.edu wrote: Thanks for the pointers, Bill. I tried installing from source as you suggested, but I am getting the same errors when I try to plot. What backend are you using? Here is what I get when I try using TkAgg: casa98-125-dhcp:.matplotlib lisa$ python simple_plot.py --verbose- helpful $HOME=/Users/lisa matplotlib data path /Users/lisa/.local/lib/python2.6/site-packages/ matplotlib/mpl-data loaded rc file /Users/lisa/.matplotlib/matplotlibrc matplotlib version 0.99.1.1 verbose.level helpful interactive is True units is False platform is darwin CONFIGDIR=/Users/lisa/.matplotlib Using fontManager instance from /Users/lisa/.matplotlib/ fontList.cache backend TkAgg version 8.5 Traceback (most recent call last): File simple_plot.py, line 2, in module plot([1,2,3]) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 2134, in plot ax = gca() File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 582, in gca ax = gcf().gca(**kwargs) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 276, in gcf return figure() File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ pyplot.py, line 254, in figure **kwargs) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ backends/backend_tkagg.py, line 91, in new_figure_manager canvas = FigureCanvasTkAgg(figure, master=window) File /Users/lisa/.local/lib/python2.6/site-packages/matplotlib/ backends/backend_tkagg.py, line 158, in __init__ master=self._tkcanvas, width=w, height=h) File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/lib-tk/Tkinter.py, line 3284, in __init__ Image.__init__(self, 'photo', name, cnf, master, **kw) File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/lib-tk/Tkinter.py, line 3240, in __init__ self.tk.call(('image', 'create', imgtype, name,) + options) _tkinter.TclError: integer value too large to represent Lisa On Dec 2, 2009, at 2:17 PM, William Carithers wrote: Hi Lisa, I had lots of trouble installing on 10.6 as well. What finally worked for me is to use the (recommended) file make.osx that comes with the matplotlib download. You have to edit that file to point to the versions of Python (you want 2.6) and OSX (you want 10.6). I'm attaching a version that has all these edits already made. (I'm assuming you have an intel Mac, not a ppc). Look at the top of the file and you will see an example command line that begins with PREFIX. You'll execute that command line with the example directory changed to your directory and I highly recommend choosing the directory /Users/(whatever your user name is)/.local All the libraries will be installed there and Python will know how to find them even without explicitly putting them in any PATH variable. This command line will even check for required dependencies like freetype2, pnglib, ... And will go them and install them for you if you don't already have them. The command line should look like: sudo PREFIX=/Users/(your username)/.local make -f make.osx fetch deps mpl_install Good luck, Bill On 12/2/09 12:31 PM, Lisa M Winter lisa.win...@colorado.edu wrote: Hello. I am finding it very difficult to install matplotlib with snow leopard. I have the Apple XCODE installed along with numpy (which I have tested and works) and am running the python 2.6 version that comes with the Mac. I have run into the following problems: 1) The diskimage installation: When I open the installer, I am told that I can not install matplotlib on my disk because I do not have a system version of python 2.6. I do not understand this error since I am running the default version (which is 2.6.1). 2) As another person on the list pointed out, easy_install matplotlib tries to install an older version that does not work with the newer version of numpy. 3) I downloaded the matplotlib-0.99.1.1-py2.6 egg. I was able to install matplotlib, seemingly. When I import pylab into python, I do not get any errors. However, I do get an error when I try to plot. With the default backend TkAgg (version 8.5), I get the following error when I try to plot: _tkinter.TclError: integer value too large to represent When I try to change the backend to MacOSX, a window opens labeled Figure 1, but nothing plots. With the verbose level on helpful, I find only that backend MacOSX version unknown.
Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6
You're right--that's pretty simple. I ran that exact code and it worked fine. Don't know what to say except that this is above my competence level to dig into the guts of tk. Looks like a problem for John Hunter. Sorry I couldn't help more, Bill On 12/2/09 2:49 PM, Lisa M Winter lisa.win...@colorado.edu wrote: from pylab import * plot([1,2,3]) show() -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6
Lisa M Winter wrote: 1) The diskimage installation: When I open the installer, I am told that I can not install matplotlib on my disk because I do not have a system version of python 2.6. I do not understand this error since I am running the default version (which is 2.6.1). The diskimage is usually built for the python binary supplied by python.org -- that is what the message means by the system version. I tried to submit a patch to change that message a year or two ago, but I guess it never got applied -- maybe I'll try again. A note to developers/distributors: Robin Dunn figured out a way to install a binary wxPython that will work with both the Apple and the python.org binaries. What it does it put it in /usr/local, and then put a pth file in both of the pythons so that it can be found. A bit of a hack, but it works, and I've never heard anyone have a problem with it. Perhaps we should do the same thing with MPL -- I'm sure he'd be glad to share his scripts for building it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib with Mac OS 10.6
Christopher Barker wrote: The diskimage is usually built for the python binary supplied by python.org -- that is what the message means by the system version. I tried to submit a patch to change that message a year or two ago, but I guess it never got applied -- maybe I'll try again. I took a look at the source for the latest bdist_mpkg -- it looks like it should now give a message like: This package requires MacPython to be installed though It's all a bit complicated -- did whoever built the dmg use the latest bdist_mpkg? But maybe should still do: A note to developers/distributors: Robin Dunn figured out a way to install a binary wxPython that will work with both the Apple and the python.org binaries. What it does it put it in /usr/local, and then put a pth file in both of the pythons so that it can be found. A bit of a hack, but it works, and I've never heard anyone have a problem with it. Perhaps we should do the same thing with MPL -- I'm sure he'd be glad to share his scripts for building it. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib on mac os 10.6 (Snow Leopard)?
Hello, First, make sure that you have installed the Apple Developer Tools, and the BSD components from the DVDs OS X. Then, please indicate your version of python, and of numpy, and give the installation log. Pierre Le 13 oct. 09 à 19:14, William Carithers a écrit : I've not been able to find a successful way to install matplotlib since upgrading to OS 10.6. There doesn't seem to be an egg for it. Easy_install matplotlib finds an old version (0.91) that is not compatible with the new numpy supplied by Apple. Easy_install matplotlib-0.99.1 can't find it. Likewise, easy_install http://sourceforge.net/projects/matplotlib/matplotlib-0.99.1/ matplotlib-0.99 .1.1.tar.gz doesn't find it. I tried downloading the gzipped tar file, then python setup install , but I got a compile error. I'm now stumped. Any ideas? Thanks, Bill Carithers -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Installing matplotlib on mac os 10.6 (Snow Leopard)?
I've not been able to find a successful way to install matplotlib since upgrading to OS 10.6. There doesn't seem to be an egg for it. Easy_install matplotlib finds an old version (0.91) that is not compatible with the new numpy supplied by Apple. Easy_install matplotlib-0.99.1 can't find it. Likewise, easy_install http://sourceforge.net/projects/matplotlib/matplotlib-0.99.1/matplotlib-0.99 .1.1.tar.gz doesn't find it. I tried downloading the gzipped tar file, then python setup install , but I got a compile error. I'm now stumped. Any ideas? Thanks, Bill Carithers -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5
Dear all, i have python 2.6 running on my mac osx 10.5, however when installing the binary file provided, it says i need to have python 2.6 on my machine. i dont understand why this is happening as when open a new terminal and type 'python', python version 2.6.2 is the version that is run. My supervisor also had a look at this and could not figure it out. He linked python 2.6 with the python command but the install file still did not recognise python 2.6. anybody have the same issue? or know of how to fix this issue? Thank You Farhan -- Academic Excellence at the Heart of Scotland. The University of Stirling is a charity registered in Scotland, number SC 011159. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5
Farhan Sheikh wrote: i have python 2.6 running on my mac osx 10.5, however when installing the binary file provided, it says i need to have python 2.6 on my machine. i dont understand why this is happening as when open a new terminal and type 'python', python version 2.6.2 is the version that is run. My supervisor also had a look at this and could not figure it out. He linked python 2.6 with the python command but the install file still did not recognise python 2.6. anybody have the same issue? or know of how to fix this issue? How did you install 2.6? The binary MPL installer is probably looking for the python.org 2.6, which would be in /Library/Frameworks/ If you are using a macports python, for instance, the installer wouldn't find it. which python at the command line might help clear this up. or: python -c import sys; print sys.path That will spew out a bunch of dirs, and where there are should tell you where your python is installed. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib 0.99 for pyhton 2.6 mac osx 10.5
Farhan Sheikh wrote: when i installed python 2.6, i installed it into the /usr/local/lib folder maybe I wasn't clear -- the MPL installer it meant to be used with the binary from python.org. You want use the installer you get here: http://www.python.org/download/ python -c import sys; print sys.path the results i got were: ['', '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', '/usr/local/lib/python2.6/plat-darwin', '/usr/local/lib/python2.6/plat-mac', '/usr/local/lib/python2.6/plat-mac/lib-scriptpackages', '/usr/local/lib/python2.6/lib-tk', '/usr/local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/site-packages'] it seems like everything was downloaded to the correct directory. for a unix-style install into /usr/local. yes. But it is not the kind of install that the MPL binary is expecting. There are WAY TOO MANY ways to install python on OS-X, but the standard way is the one used by the installers found on python.org: It is called a Framework Build, and is the Mac way to do things. People have their reasons for doing it other ways, but package distributors can only support so much, so the python.org way is the one generally supported. You can build MPL for your install it you want, it should be easy, except for the dependencies -- I'm not sure what those are anymore, but a little reading of the docs should tell you. Oh, and you'll end up having to build every other extension, too - wxPython, QT, PIL, ??? Without good reason, I'd just go with the python,org build. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] installing matplotlib
When installing matplotlib-0.98.5.2.win32-py2.5.exe on Windows Vista I got the messages 'Could not create key matplotlib-py2.5' and 'Could not set key value Python 2.5 matplotlib-0,98.5.2'. Any idea what is wrong? -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Installing Matplotlib
Hi, sorry to bother you. This may be a trivial question for experienced Matplotlib users. I am trying to install Matplotlib under Windows XP but with no success. I am not familiar with Python or any of the other packages and I've never used Matplotlib before. I followed the instructions in the Matplotlib User's Manual and I have installed in the following sequence 1) Python(x,y)-2.1.12, 2) python-2.6.1.msi and 3) numpy-1.3.0-win32-superpack-python2.6.exe. Can anyone advise me on what to do next? Thanks, Constantine -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing Matplotlib
A quick but not necessarily accurate answer: Don't use Python 2.6. Use Python 2.5. I don't think matplotlib has been 'certified' for 2.6 yet. I suggest (1) uninstall Python 2.6 and numpy for 2.6. (2) Install Python 2.5 and numpy for 2.5 (3) Install matplotlib for 2.5 Constantine cksm...@gmail.com 07/04/2009 10:19 AM To matplotlib-users@lists.sourceforge.net cc Subject [Matplotlib-users] Installing Matplotlib Hi, sorry to bother you. This may be a trivial question for experienced Matplotlib users. I am trying to install Matplotlib under Windows XP but with no success. I am not familiar with Python or any of the other packages and I've never used Matplotlib before. I followed the instructions in the Matplotlib User's Manual and I have installed in the following sequence 1) Python(x,y)-2.1.12, 2) python-2.6.1.msi and 3) numpy-1.3.0-win32-superpack-python2.6.exe. Can anyone advise me on what to do next? Thanks, Constantine __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users UNITED GROUP This email message is the property of United Group. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, you may not disclose, copy or distribute this email, nor take or omit to take any action in reliance on it. United Group accepts no liability for any damage caused by this email or any attachments due to viruses, interference, interception, corruption or unauthorised access. If you have received this email in error, please notify United Group immediately by email to the sender's email address and delete this document.-- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] installing matplotlib
Two questions: 1) I'm trying to upgrade an installation of matplotlib I have on a RHEL5 system. When trying: /usr/local/bin/python setup.py build I get the error message: gcc: src/ft2font.cpp: C++ compiler not installed on this system error: command 'gcc' failed with exit status 1 I do in fact have a C++ compiler on the system, in the form of g++. Is there a place where I can configure the C++ compiler to use? 2) So that I don't have to bother the list with things like this, how can I _search_ the mailing list for keywords? If I go here: http://sourceforge.net/mailarchive/forum.php?forum_name=matplotlib-users I don't see any way to search the archives, other than manually paging through them. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib
Michael Hearne wrote: 2) So that I don't have to bother the list with things like this, how can I _search_ the mailing list for keywords? I usually search mailing lists through gmane.org, for this particular list the link is: http://dir.gmane.org/gmane.comp.python.matplotlib.general JLS -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib
Michael Hearne wrote: Two questions: 1) I'm trying to upgrade an installation of matplotlib I have on a RHEL5 system. When trying: /usr/local/bin/python setup.py build I get the error message: gcc: src/ft2font.cpp: C++ compiler not installed on this system error: command 'gcc' failed with exit status 1 I do in fact have a C++ compiler on the system, in the form of g++. Is there a place where I can configure the C++ compiler to use? distutils will use the CXX environment variable if it is set. Though you should be able to compile C++ with gcc as well, if the C++ backend is installed -- that's why the error message is surprising to me if you're certain you have g++ installed. Can you compile a simple C++ file with gcc directly from the commandline? Cheers, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib
I can't using gcc, but I can using g++, which is installed. I guess I'll just set the CXX variable to the path for g++. I don't know enough about gcc to understand why the two aren't linked together... Thanks for the help, Mike Michael Droettboom wrote: Michael Hearne wrote: Two questions: 1) I'm trying to upgrade an installation of matplotlib I have on a RHEL5 system. When trying: /usr/local/bin/python setup.py build I get the error message: gcc: src/ft2font.cpp: C++ compiler not installed on this system error: command 'gcc' failed with exit status 1 I do in fact have a C++ compiler on the system, in the form of g++. Is there a place where I can configure the C++ compiler to use? distutils will use the CXX environment variable if it is set. Though you should be able to compile C++ with gcc as well, if the C++ backend is installed -- that's why the error message is surprising to me if you're certain you have g++ installed. Can you compile a simple C++ file with gcc directly from the commandline? Cheers, Mike -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib
I tried setting CXX=/usr/bin/g++ in my .bashrc, but I still get the same error. Is there some file in the matplotlib distribution that I need to edit with this information? --Mike Michael Hearne wrote: I can't using gcc, but I can using g++, which is installed. I guess I'll just set the CXX variable to the path for g++. I don't know enough about gcc to understand why the two aren't linked together... Thanks for the help, Mike Michael Droettboom wrote: Michael Hearne wrote: Two questions: 1) I'm trying to upgrade an installation of matplotlib I have on a RHEL5 system. When trying: /usr/local/bin/python setup.py build I get the error message: gcc: src/ft2font.cpp: C++ compiler not installed on this system error: command 'gcc' failed with exit status 1 I do in fact have a C++ compiler on the system, in the form of g++. Is there a place where I can configure the C++ compiler to use? distutils will use the CXX environment variable if it is set. Though you should be able to compile C++ with gcc as well, if the C++ backend is installed -- that's why the error message is surprising to me if you're certain you have g++ installed. Can you compile a simple C++ file with gcc directly from the commandline? Cheers, Mike -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] installing matplotlib
Trying your suggestion did not work. However, doing this: export CPP=/usr/bin/g++ python setup.py build did work. Go figure. --Mike Michael Droettboom wrote: Hmm... the selection of the compiler command is actually deep within distutils -- matplotlib doesn't address it. I'm surprised the CXX environment variable isn't getting picked up. I use that all the time to test different compilers. Did you try: export CXX=/usr/bin/g++ python setup.py build If that doesn't work, I'm at a loss -- you could start investigating on distutils and/or gcc lists. Cheers, Mike Michael Hearne wrote: I tried setting CXX=/usr/bin/g++ in my .bashrc, but I still get the same error. Is there some file in the matplotlib distribution that I need to edit with this information? --Mike Michael Hearne wrote: I can't using gcc, but I can using g++, which is installed. I guess I'll just set the CXX variable to the path for g++. I don't know enough about gcc to understand why the two aren't linked together... Thanks for the help, Mike Michael Droettboom wrote: Michael Hearne wrote: Two questions: 1) I'm trying to upgrade an installation of matplotlib I have on a RHEL5 system. When trying: /usr/local/bin/python setup.py build I get the error message: gcc: src/ft2font.cpp: C++ compiler not installed on this system error: command 'gcc' failed with exit status 1 I do in fact have a C++ compiler on the system, in the form of g++. Is there a place where I can configure the C++ compiler to use? distutils will use the CXX environment variable if it is set. Though you should be able to compile C++ with gcc as well, if the C++ backend is installed -- that's why the error message is surprising to me if you're certain you have g++ installed. Can you compile a simple C++ file with gcc directly from the commandline? Cheers, Mike -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Installing matplotlib for python 2.6 under windows
Hi! I'm having a bit difficulty getting matplotlib to run under windows (vista x64) with python 2.6. I downloaded the source from svn, ran the build and install commands, then copied the content of /build/lib.win32-2.6 to Lib/site-packages folder. But when I try to import pylab I get the following error message: Traceback (most recent call last): File pyshell#0, line 1, in module import pylab File C:\Python26\lib\site-packages\pylab.py, line 1, in module from matplotlib.pylab import * File C:\Python26\lib\site-packages\matplotlib\pylab.py, line 207, in module from matplotlib import mpl # pulls in most modules File C:\Python26\lib\site-packages\matplotlib\mpl.py, line 1, in module from matplotlib import artist File C:\Python26\lib\site-packages\matplotlib\artist.py, line 5, in module from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath File C:\Python26\lib\site-packages\matplotlib\transforms.py, line 34, in module from matplotlib._path import affine_transform ImportError: No module named _path So, where might I find the _path module be? Thanks in advance, Romi -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib for python 2.6 under windows
Romi Agar wrote: Hi! I'm having a bit difficulty getting matplotlib to run under windows (vista x64) with python 2.6. I downloaded the source from svn, ran the build and install commands, Does that mean python setup.py install? then copied the content of /build/lib.win32-2.6 to Lib/site-packages folder. Hmm, why did you have to do that? Doesn't the install step do that automatically? Or did it break? But when I try to import pylab I get the following error message: Traceback (most recent call last): File pyshell#0, line 1, in module import pylab File C:\Python26\lib\site-packages\pylab.py, line 1, in module from matplotlib.pylab import * File C:\Python26\lib\site-packages\matplotlib\pylab.py, line 207, in module from matplotlib import mpl # pulls in most modules File C:\Python26\lib\site-packages\matplotlib\mpl.py, line 1, in module from matplotlib import artist File C:\Python26\lib\site-packages\matplotlib\artist.py, line 5, in module from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath File C:\Python26\lib\site-packages\matplotlib\transforms.py, line 34, in module from matplotlib._path import affine_transform ImportError: No module named _path So, where might I find the _path module be? This gets compiled from C sources. Do you a C compiler on your system? Python 2.6 is built with MicroSoft Visual Studio 2008 (aka VC++ v 9.0), but the free VC++ 2008 Express Edition compiles Python extensions just fine, according to http://mien.sourceforge.net/docs/platform_win.html#py26 Thanks in advance, Romi -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib for python 2.6 under windows
Aha, I did not have VC++ 2008 EE on my PC, so it actually didn't compile anything. Now that I have it, I get a dependency problem with Freetype2. The build command fails with: c:\python26\matpotlib\src\ft2font.h(13) : fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory I downloaded the windows binaries of freetype2 in gnuwin32 project, but it doesn't seem to help. Or do I need to download freetype2 source and compile that. If so, maybe there is a detailed (step-by-step) guide installing the dependecies (libpng, zlib, freetype), because they don't seem to have windows installers like numpy has that actually works with matplotlib. Any helpl appreciated. When might we see matplotlib binaries for python 2.6? Andrew Straw wrote: Romi Agar wrote: Hi! I'm having a bit difficulty getting matplotlib to run under windows (vista x64) with python 2.6. I downloaded the source from svn, ran the build and install commands, Does that mean python setup.py install? then copied the content of /build/lib.win32-2.6 to Lib/site-packages folder. Hmm, why did you have to do that? Doesn't the install step do that automatically? Or did it break? But when I try to import pylab I get the following error message: Traceback (most recent call last): File pyshell#0, line 1, in module import pylab File C:\Python26\lib\site-packages\pylab.py, line 1, in module from matplotlib.pylab import * File C:\Python26\lib\site-packages\matplotlib\pylab.py, line 207, in module from matplotlib import mpl # pulls in most modules File C:\Python26\lib\site-packages\matplotlib\mpl.py, line 1, in module from matplotlib import artist File C:\Python26\lib\site-packages\matplotlib\artist.py, line 5, in module from transforms import Bbox, IdentityTransform, TransformedBbox, TransformedPath File C:\Python26\lib\site-packages\matplotlib\transforms.py, line 34, in module from matplotlib._path import affine_transform ImportError: No module named _path So, where might I find the _path module be? This gets compiled from C sources. Do you a C compiler on your system? Python 2.6 is built with MicroSoft Visual Studio 2008 (aka VC++ v 9.0), but the free VC++ 2008 Express Edition compiles Python extensions just fine, according to http://mien.sourceforge.net/docs/platform_win.html#py26 Thanks in advance, Romi -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Installing matplotlib for Python 2.6 on windows
What is the recommended way to install matplotlib for python 2.6? I have numpy installed currently on my python 2.6 distribution. Is there an existing binary installer for matplotlib? Is the best thing to do to try and compile from the current .98.5 source? Thanks for any help or advice, it is much appreciated. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib for Python 2.6 on windows
As I mentioned in a previous email last night, I have built an installer for matplotlib (updated this afternoon) off the SVN trunk. You are welcome to use it, however be aware that maplotlib does not support Python 2.6 (and won't until after Numpy officially supports Python 2.6) and there are some known issues - one of which is that I can't get Tkinter to work properly when using plot.show(). As a work around I strongly suggest installing WxPython and using that as the default backend. If you do chose to use this installer please know that it is unsupported and you are on your own if something breaks. http://code.patricktmarsh.com/builds -Patrick On Tue, Feb 24, 2009 at 7:22 PM, Philip Bloom pbl...@crystald.com wrote: What is the recommended way to install matplotlib for python 2.6? I have numpy installed currently on my python 2.6 distribution. Is there an existing binary installer for matplotlib? Is the best thing to do to try and compile from the current .98.5 source? Thanks for any help or advice, it is much appreciated. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Patrick Marsh Graduate Research Assistant School of Meteorology University of Oklahoma http://www.patricktmarsh.com -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing Matplotlib
Compiling some packages as fat binaries is a bit tricky. For some reason the double arch flag is messing it up. Are you set up using gcc 3.x or 4.x? If I recall correctly there has been some discussion of problems building matplotlib on the pythonmac-sig list, you might want to try looking in the archives over there. For that matter, is there a reason you don't want to use the binary on sourceforge? The python 2.5 version that's posted for 0.98.1 is dual architecture. David On 27-Jul-08, at 7:44 PM, Ari Ehrmann wrote: Hey all, I've been having a lot of trouble installing matplotlib. I'm using a macbook, on version 10.5.4 of Mac OS, intel processor (if that's important). I've installed both numpy and scipy without problems, but when I type this command to install matplotlib: CFLAGS=-Os -arch i386 -arch ppc LDFLAGS=-Os -arch i386 -arch ppc python setup.py build I get this output: = = = = = = == BUILDING MATPLOTLIB matplotlib: 0.98.3 python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.2.0.dev5513 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) 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: no ghostscript: /bin/sh: gs: command not found latex: no EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] = = = = = = == running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc - build/ lib.macosx-10.3-fat-2.5/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf - build/ lib.macosx-10.3-fat-2.5/matplotlib/mpl-data running build_ext building 'matplotlib.ft2font' extension g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk - g -bundle -undefined dynamic_lookup -Os -arch i386 -arch ppc -Os - arch i386 -arch ppc build/temp.macosx-10.3-fat-2.5/src/ft2font.o build/temp.macosx-10.3-fat-2.5/src/mplutils.o build/temp.macosx-10.3- fat-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-fat-2.5/CXX/ cxxsupport.o build/temp.macosx-10.3-fat-2.5/CXX/ IndirectPythonInterface.o build/temp.macosx-10.3-fat-2.5/CXX/ cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib - lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.5/ matplotlib/ft2font.so ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc+ +.dylib, file is not of required architecture ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++. 6.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc+ +.dylib, file is not of required architecture ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++. 6.dylib, file is not of required architecture for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/S0/S0i2z-OAEtG1ZHpis54obU++ +TM/-Tmp-//ccfhpaN5.out (No such file or directory) error: command 'g++' failed with exit status 1 Has anyone had this problem or know what's even going here? Any help would be greatly appreciated. Thanks, Ari - 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
Re: [Matplotlib-users] Installing Matplotlib
Hi, While others have mentioned the dual architecture problem, I'm going to completely divert your question and just point you to these two install notes for os x ... I think the last time I compiled matplotlib from source, I followed this .. it worked quite flawlessly on my MBP: http://ipython.scipy.org/moin/Py4Science/InstallationOSX Hopefully that will get you up and running, but if creating a universal binary is important to you, you can try looking here: http://ipython.scipy.org/moin/MatplotlibOSXBuildNotes HTH, -steve On Jul 27, 2008, at 7:44 PM, Ari Ehrmann wrote: Hey all, I've been having a lot of trouble installing matplotlib. I'm using a macbook, on version 10.5.4 of Mac OS, intel processor (if that's important). I've installed both numpy and scipy without problems, but when I type this command to install matplotlib: CFLAGS=-Os -arch i386 -arch ppc LDFLAGS=-Os -arch i386 -arch ppc python setup.py build I get this output: = = = = = = == BUILDING MATPLOTLIB matplotlib: 0.98.3 python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.2.0.dev5513 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) 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: no ghostscript: /bin/sh: gs: command not found latex: no EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] = = = = = = == running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc - build/ lib.macosx-10.3-fat-2.5/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf - build/ lib.macosx-10.3-fat-2.5/matplotlib/mpl-data running build_ext building 'matplotlib.ft2font' extension g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk - g -bundle -undefined dynamic_lookup -Os -arch i386 -arch ppc -Os - arch i386 -arch ppc build/temp.macosx-10.3-fat-2.5/src/ft2font.o build/temp.macosx-10.3-fat-2.5/src/mplutils.o build/temp.macosx-10.3- fat-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-fat-2.5/CXX/ cxxsupport.o build/temp.macosx-10.3-fat-2.5/CXX/ IndirectPythonInterface.o build/temp.macosx-10.3-fat-2.5/CXX/ cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib - lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.5/ matplotlib/ft2font.so ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc+ +.dylib, file is not of required architecture ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++. 6.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc+ +.dylib, file is not of required architecture ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++. 6.dylib, file is not of required architecture for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/S0/S0i2z-OAEtG1ZHpis54obU++ +TM/-Tmp-//ccfhpaN5.out (No such file or directory) error: command 'g++' failed with exit status 1 Has anyone had this problem or know what's even going here? Any help would be greatly appreciated. Thanks, Ari - 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
[Matplotlib-users] Installing Matplotlib
Hey all, I've been having a lot of trouble installing matplotlib. I'm using a macbook, on version 10.5.4 of Mac OS, intel processor (if that's important). I've installed both numpy and scipy without problems, but when I type this command to install matplotlib: CFLAGS=-Os -arch i386 -arch ppc LDFLAGS=-Os -arch i386 -arch ppc python setup.py build I get this output: BUILDING MATPLOTLIB matplotlib: 0.98.3 python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.2.0.dev5513 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) 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: no ghostscript: /bin/sh: gs: command not found latex: no EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc - build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf - build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data running build_ext building 'matplotlib.ft2font' extension g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup -Os -arch i386 -arch ppc -Os -arch i386 -arch ppc build/temp.macosx-10.3-fat-2.5/src/ft2font.o build/temp.macosx-10.3-fat-2.5/src/mplutils.o build/temp.macosx-10.3-fat-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-fat-2.5/CXX/cxxsupport.o build/temp.macosx-10.3-fat-2.5/CXX/IndirectPythonInterface.o build/temp.macosx-10.3-fat-2.5/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.5/matplotlib/ft2font.so ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.dylib, file is not of required architecture ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.6.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.dylib, file is not of required architecture ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.6.dylib, file is not of required architecture for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/S0/S0i2z-OAEtG1ZHpis54obU+++TM/-Tmp-//ccfhpaN5.out (No such file or directory) error: command 'g++' failed with exit status 1 Has anyone had this problem or know what's even going here? Any help would be greatly appreciated. Thanks, Ari - 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] Installing Matplotlib
are you sure you need to specify -arch i386 -arch ppc and not only -arch ppc ?? It seems that according to the log mentioning i386 here does not please the linker. Maybe try without it? my 2 cents, Johann Ari Ehrmann wrote: Hey all, I've been having a lot of trouble installing matplotlib. I'm using a macbook, on version 10.5.4 of Mac OS, intel processor (if that's important). I've installed both numpy and scipy without problems, but when I type this command to install matplotlib: CFLAGS=-Os -arch i386 -arch ppc LDFLAGS=-Os -arch i386 -arch ppc python setup.py build I get this output: BUILDING MATPLOTLIB matplotlib: 0.98.3 python: 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build 5341)] platform: darwin REQUIRED DEPENDENCIES numpy: 1.2.0.dev5513 freetype2: found, but unknown version (no pkg-config) OPTIONAL BACKEND DEPENDENCIES libpng: found, but unknown version (no pkg-config) 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: no ghostscript: /bin/sh: gs: command not found latex: no EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES configobj: matplotlib will provide enthought.traits: no [Edit setup.cfg to suppress the above messages] running build running build_py copying lib/matplotlib/mpl-data/matplotlibrc - build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data copying lib/matplotlib/mpl-data/matplotlib.conf - build/lib.macosx-10.3-fat-2.5/matplotlib/mpl-data running build_ext building 'matplotlib.ft2font' extension g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup -Os -arch i386 -arch ppc -Os -arch i386 -arch ppc build/temp.macosx-10.3-fat-2.5/src/ft2font.o build/temp.macosx-10.3-fat-2.5/src/mplutils.o build/temp.macosx-10.3-fat-2.5/CXX/cxx_extensions.o build/temp.macosx-10.3-fat-2.5/CXX/cxxsupport.o build/temp.macosx-10.3-fat-2.5/CXX/IndirectPythonInterface.o build/temp.macosx-10.3-fat-2.5/CXX/cxxextensions.o -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -lstdc++ -lm -o build/lib.macosx-10.3-fat-2.5/matplotlib/ft2font.so ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.dylib, file is not of required architecture ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.6.dylib, file is not of required architecture for architecture i386 collect2: ld returned 1 exit status ld warning: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.dylib, file is not of required architecture ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libstdc++.6.dylib, file is not of required architecture for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/S0/S0i2z-OAEtG1ZHpis54obU+++TM/-Tmp-//ccfhpaN5.out (No such file or directory) error: command 'g++' failed with exit status 1 Has anyone had this problem or know what's even going here? Any help would be greatly appreciated. Thanks, Ari - 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] Installing matplotlib
Jeff (or anyone) - I recently reinstalled all of my numpy/scipy related packages, including matplotlib, from a Mac OS X installer called the SciPy SuperPack. (http://macinscience.org/?page_id=6) All of the packages he includes work really well. However, after I used easy_install to grab Basemap, I found I can't import it. I was wondering if you could give me a pointer on how to tell Python where to look for Basemap? Thanks, Mike Hearne My site-packages directory looks like this: -rw-rw-r-- 1 root admin 119 Oct 5 2007 README drwxr-xr-x 20 root admin 680 Apr 30 16:43 basemap-0.9.9.1-py2.5- macosx-10.5-i386.egg -rw-r--r-- 1 root admin 555 Apr 30 16:43 easy-install.pth drwxr-xr-x 4 root admin 136 Apr 30 16:49 ipython-0.8.3.svn.r3001-py2.5.egg drwxr-xr-x 12 root admin 408 Apr 30 16:48 matplotlib-0.98pre- py2.5-macosx-10.3-i386.egg drwxr-xr-x 11 root admin 374 Apr 17 15:03 matplotlib-0.98pre- py2.5-macosx-10.5-i386.egg drwxr-xr-x 5 root admin 170 Apr 30 16:38 nose-0.10.1-py2.5.egg drwxr-xr-x 4 root admin 136 Apr 17 15:03 numpy-1.0.5.dev4954- py2.5-macosx-10.5-i386.egg drwxr-xr-x 4 root admin 136 Apr 30 16:48 numpy-1.1.0.dev5077- py2.5-macosx-10.3-i386.egg drwxr-xr-x 4 root admin 136 Apr 17 15:04 pymc-2.0DEV_r686-py2.5- macosx-10.3-i386.egg drwxr-xr-x 4 root admin 136 Apr 30 16:49 pymc-2.0DEV_r709-py2.5- macosx-10.3-i386.egg drwxr-xr-x 6 root admin 204 Apr 17 15:04 readline-2.5.1-py2.5- macosx-10.5-i386.egg drwxr-xr-x 4 root admin 136 Apr 17 15:04 scipy-0.7.0.dev4075- py2.5-macosx-10.5-i386.egg drwxr-xr-x 4 root admin 136 Apr 30 16:48 scipy-0.7.0.dev4174- py2.5-macosx-10.3-i386.egg -rw-r--r-- 1 root admin 324858 Apr 17 15:03 setuptools-0.6c8- py2.5.egg -rw-r--r-- 1 root admin 29 Apr 30 16:41 setuptools.pth The easy-install.pth file looks like this: import sys; sys.__plen = len(sys.path) ./setuptools-0.6c8-py2.5.egg ./readline-2.5.1-py2.5-macosx-10.5-i386.egg ./ipython-0.8.3.svn.r3001-py2.5.egg ./numpy-1.1.0.dev5077-py2.5-macosx-10.3-i386.egg ./matplotlib-0.98pre-py2.5-macosx-10.3-i386.egg ./scipy-0.7.0.dev4174-py2.5-macosx-10.3-i386.egg ./pymc-2.0DEV_r709-py2.5-macosx-10.3-i386.egg ./nose-0.10.1-py2.5.egg ./basemap-0.9.9.1-py2.5-macosx-10.5-i386.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p +len(new) - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] Installing matplotlib
Michael Hearne wrote: Jeff (or anyone) - I recently reinstalled all of my numpy/scipy related packages, including matplotlib, from a Mac OS X installer called the SciPy SuperPack. (http://macinscience.org/?page_id=6) All of the packages he includes work really well. However, after I used easy_install to grab Basemap, I found I can't import it. I was wondering if you could give me a pointer on how to tell Python where to look for Basemap? Thanks, Mike Hearne Mike: Unfortunately, if matplotlib was installed as an egg, you can't install Basemap. This bug has been fixed in 0.98pre, but that won't help you unless you compile matplotlib and Basemap from svn. I think you can manually fix it by adding some symbolic links manually in the egg directory structure, but I don't remember the details. -Jeff My site-packages directory looks like this: -rw-rw-r-- 1 root admin 119 Oct 5 2007 README drwxr-xr-x 20 root admin 680 Apr 30 16:43 basemap-0.9.9.1-py2.5-macosx-10.5-i386.egg -rw-r--r-- 1 root admin 555 Apr 30 16:43 easy-install.pth drwxr-xr-x 4 root admin 136 Apr 30 16:49 ipython-0.8.3.svn.r3001-py2.5.egg drwxr-xr-x 12 root admin 408 Apr 30 16:48 matplotlib-0.98pre-py2.5-macosx-10.3-i386.egg drwxr-xr-x 11 root admin 374 Apr 17 15:03 matplotlib-0.98pre-py2.5-macosx-10.5-i386.egg drwxr-xr-x 5 root admin 170 Apr 30 16:38 nose-0.10.1-py2.5.egg drwxr-xr-x 4 root admin 136 Apr 17 15:03 numpy-1.0.5.dev4954-py2.5-macosx-10.5-i386.egg drwxr-xr-x 4 root admin 136 Apr 30 16:48 numpy-1.1.0.dev5077-py2.5-macosx-10.3-i386.egg drwxr-xr-x 4 root admin 136 Apr 17 15:04 pymc-2.0DEV_r686-py2.5-macosx-10.3-i386.egg drwxr-xr-x 4 root admin 136 Apr 30 16:49 pymc-2.0DEV_r709-py2.5-macosx-10.3-i386.egg drwxr-xr-x 6 root admin 204 Apr 17 15:04 readline-2.5.1-py2.5-macosx-10.5-i386.egg drwxr-xr-x 4 root admin 136 Apr 17 15:04 scipy-0.7.0.dev4075-py2.5-macosx-10.5-i386.egg drwxr-xr-x 4 root admin 136 Apr 30 16:48 scipy-0.7.0.dev4174-py2.5-macosx-10.3-i386.egg -rw-r--r-- 1 root admin 324858 Apr 17 15:03 setuptools-0.6c8-py2.5.egg -rw-r--r-- 1 root admin 29 Apr 30 16:41 setuptools.pth The easy-install.pth file looks like this: import sys; sys.__plen = len(sys.path) ./setuptools-0.6c8-py2.5.egg ./readline-2.5.1-py2.5-macosx-10.5-i386.egg ./ipython-0.8.3.svn.r3001-py2.5.egg ./numpy-1.1.0.dev5077-py2.5-macosx-10.3-i386.egg ./matplotlib-0.98pre-py2.5-macosx-10.3-i386.egg ./scipy-0.7.0.dev4174-py2.5-macosx-10.3-i386.egg ./pymc-2.0DEV_r709-py2.5-macosx-10.3-i386.egg ./nose-0.10.1-py2.5.egg ./basemap-0.9.9.1-py2.5-macosx-10.5-i386.egg import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new) -- Jeffrey S. Whitaker Phone : (303)497-6313 NOAA/OAR/CDC R/PSD1FAX : (303)497-6449 325 BroadwayBoulder, CO, USA 80305-3328 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users