From: charles r. <cha...@gm...> - 2008-09-23 17:32:26
|
I don't think my message made it to the mailing list... See below. Charles ========== The 2nd Law of Thermodynamics... If you think things are a mess now, JUST WAIT! ---------- Forwarded message ---------- From: charles reid <cha...@gm...> Date: Fri, Sep 19, 2008 at 5:46 PM Subject: Re: [Matplotlib-users] installation To: Robert Fenwick <rob...@ir...> Cc: mat...@li... The pre-installed version of python is NOT rubbish, it's used by the system to do various tasks. If you delete it, it will likely mess things up. I highly recommend you leave it alone. I would recommend you do a simple web search, since there are a whole slew of guides to doing this. Try this one: http://www.mtheory.co.uk/support/index.php?title=Installing_Python_-_iPython%2C_Numpy%2C_Scipy_and_Matplotlib_on_OS_X There is a list of links at the bottom with at least 5 more guides to installing "python for science" on Mac OS X 10.5 ("python for science" being the suite of iPython, SciPy, NumPy, and matplotlib). Also try this handy "SciPy Superpack" script: http://macinscience.org/?page_id=6 It atuomatically downloads & installs the python for science programs from the svn source (so you don't have to worry about updating, you just re-run the script). Good luck. Charles ========== The 2nd Law of Thermodynamics... If you think things are a mess now, JUST WAIT! On Fri, Sep 19, 2008 at 2:29 AM, Robert Fenwick < rob...@ir...> wrote: > Hi, > > I would really like to use matplot lib, however I am having big > problems as I try to do this on OSX 10.5. if there is someone how > could give a detailed explination of how to get rid of the > preinstalled python that is apparently rubbish and then how to install > a new python version that would really help me. I am completely lost > in a world of eggs etc. > > Bryn > > P.S. here is my particular compilation problem. Is there a simple > solution so that I can code my first graph today? > > salvatella02:Downloads rbf$ sudo easy_install > matplotlib-0.98.3-py2.5-macosx-10.3.egg > Password: > Processing matplotlib-0.98.3-py2.5-macosx-10.3.egg > removing > '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg' > (and everything under it) > creating > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg > Extracting matplotlib-0.98.3-py2.5-macosx-10.3.egg to > > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages > Adding matplotlib 0.98.3 to easy-install.pth file > > Installed > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib-0.98.3-py2.5-macosx-10.3.egg > Processing dependencies for matplotlib==0.98.3 > Searching for matplotlib==0.98.3 > Reading http://pypi.python.org/simple/matplotlib/ > Reading http://matplotlib.sourceforge.net > Reading > https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=278194 > Reading > https://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 > Reading > http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=82474 > Reading http://sourceforge.net/project/showfiles.php?group_id=80706 > Best match: matplotlib 0.98.3 > Downloading > http://downloads.sourceforge.net/matplotlib/matplotlib-0.98.3.tar.gz?modtime=1217773039&big_mirror=0 > Processing matplotlib-0.98.3.tar.gz > Running matplotlib-0.98.3/setup.py -q bdist_egg --dist-dir > /tmp/easy_install-JGl_1Z/matplotlib-0.98.3/egg-dist-tmp-T6PVvy > > ============================================================================ > BUILDING MATPLOTLIB > matplotlib: 0.98.3 > python: 2.5.2 (r252:60911, Feb 22 2008, 07:57:53) [GCC > 4.0.1 (Apple Computer, Inc. build 5363)] > platform: darwin > > REQUIRED DEPENDENCIES > numpy: 1.1.1 > freetype2: 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: 1.9 > ghostscript: 8.57 > latex: 3.141592 > > EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES > configobj: matplotlib will provide > enthought.traits: no > > [Edit setup.cfg to suppress the above messages] > > ============================================================================ > warning: no files found matching 'NUMARRAY_ISSUES' > warning: no files found matching 'MANIFEST' > warning: no files found matching 'matplotlibrc' > warning: no files found matching 'makeswig.py' > warning: no files found matching 'examples/data/*' > warning: no files found matching 'lib/mpl_toolkits' > warning: no files found matching '*' under directory 'examples' > warning: no files found matching '*' under directory 'swig' > gcc: unrecognized option '-no-cpp-precomp' > cc1plus: error: unrecognized command line option "-arch" > cc1plus: error: unrecognized command line option "-arch" > cc1plus: warning: unrecognized command line option "-Wno-long-double" > error: Setup script exited with error: command 'gcc' failed with exit > status 1 > Exception exceptions.OSError: (2, 'No such file or directory', > 'src/image.cpp') in <bound method CleanUpFile.__del__ of > <setupext.CleanUpFile instance at 0x1bb48a0>> ignored > Exception exceptions.OSError: (2, 'No such file or directory', > 'src/path.cpp') in <bound method CleanUpFile.__del__ of > <setupext.CleanUpFile instance at 0x1bb4080>> ignored > Exception exceptions.OSError: (2, 'No such file or directory', > 'src/backend_agg.cpp') in <bound method CleanUpFile.__del__ of > <setupext.CleanUpFile instance at 0x1bb43c8>> ignored > > ------------------------------------------------------------------------- > 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=100&url=/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |