|
From: Leslie B. <les...@sy...> - 2011-01-16 03:02:06
|
**update** matplotlib 1.0.0 setup worked on one but did not work on a second Mac OS X 10.6.6. The second one again failed with a missing dependency. It seems to depend on what previous packages may have been installed. The following seems to be a complete fix: 1. On Mac OS X 10.6.x (in my case...6) 2. Install Apple Xcode (requires registration as an Apple developer) 3. Install MacPorts http://www.macports.org/ 4. Check that all library dependencies for matplotlib in Python 2.6 have been satisfied by first running (with Administrator privileges): sudo port install py26-matplotlib (this will use MacPorts script to install matplotlib 1.0.0) 5. (optional) you can reinstall now matplotlib from http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz/download **now** it works :-) PS note to matplotlib developers. The above may suggest that matplotlib may have a dependency that is not present on a virgin OSX Xcode machine but which is incidentally installed by some other package usually present on a developer's machine and so whose absence is not noticed when preparing the installation script. On 16/01/2011, at 10:22 AM, Leslie Burnett wrote: > Thank you. You are correct. The matplotlib version 1.0.0 works for me too! > > I will post this reply so that others can be aware that the problem seems to be only with matplotlib version 1.0.1. > The previous version matplotlib 1.0.0 works ok with Mac OS X 10.6.6 Snow Leopard and Apple Python 2.6.1 > > On 15/01/2011, at 11:04 PM, Kurt Mueller wrote: > >> >> Am 15.01.2011 um 12:07 schrieb Leslie Burnett: >>> My apologies if this question is a bit simple, but I am new to Python, but I think I've done all the RTFM things and still hit a brick wall. I can see from Google that I am not the first to strike this problem, but no solutions seem to be posted. >>> I am trying to install matplotlib on a Mac OSX 10.6 (Snow Leopard)(OS fully up to date). >>> When I try to install, I get the error message: >>>> lipo: can't open input file: /var/tmp//cctV2zuc.out (No such file or directory) >>>> error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1 >> >> >> On a fully updated Mac OSX 10.6.6 the installation of >> http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0/matplotlib-1.0.0.tar.gz/download >> did work for me. >> >> -- >> kur...@gm... >> > |