matplotlib-0.99.1-py2.5-macosx10.5.dmg

Hi,

I tried to install 0.99.1 [I installed 0.99 a few days ago. I hoped that with 0.99.1 I'd get rid of problems with using imshow with masked_array and set_bad(alpha=0.0)]:

Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)
[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac
kages/pylab.py", line 1, in <module>
     from matplotlib.pylab import *
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac
kages/matplotlib/pylab.py", line 206, in <module>
     from matplotlib import mpl # pulls in most modules
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac
kages/matplotlib/mpl.py", line 2, in <module>
     from matplotlib import axis
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac
kages/matplotlib/axis.py", line 10, in <module>
     import matplotlib.font_manager as font_manager
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac
kages/matplotlib/font_manager.py", line 52, in <module>
     from matplotlib import ft2font
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python
2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: /Users/jdhunter
/devbuild/lib/libfreetype.6.dylib
   Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2
.5/site-packages/matplotlib/ft2font.so
   Reason: image not found

Am I missing something or is this 0.99.1 OSX package somehow broken?

Cheers,

Teemu Rinne
Dept Psychology
University of Helsinki

Teemu Rinne wrote:

     from matplotlib import ft2font
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/ lib/python
2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: / Users/jdhunter
/devbuild/lib/libfreetype.6.dylib

Am I missing something or is this 0.99.1 OSX package somehow broken?

I think it's broken -- it's looking for a libfreetype in the:

Users/jdhunter/devbuild/lib/

dir, which you're pretty unlikely to have!

John, did you mean to have only static lbs in your devbuild/lib dir, which I think would work?

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@...259...

I've removed the shared object libs before building the binaries, so
now the static libs should be compiled in. Teemu, can you test again
with the 0.99.1.1 OSX binaries at the download site?

JDH

···

On Wed, Sep 23, 2009 at 4:39 PM, Christopher Barker <Chris.Barker@...259...> wrote:

Teemu Rinne wrote:

 from matplotlib import ft2font

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/
lib/python
2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: /
Users/jdhunter
/devbuild/lib/libfreetype.6.dylib

Am I missing something or is this 0.99.1 OSX package somehow broken?

I think it's broken -- it's looking for a libfreetype in the:

Users/jdhunter/devbuild/lib/

dir, which you're pretty unlikely to have!

John, did you mean to have only static lbs in your devbuild/lib dir,
which I think would work?

Just this afternoon I saw the same issue with the binary egg for 0.99.1 for OS X.

Brian

···

On Wed, Sep 23, 2009 at 7:59 PM, John Hunter <jdh2358@…287…> wrote:

On Wed, Sep 23, 2009 at 4:39 PM, Christopher Barker > > <Chris.Barker@…259…> wrote:

Teemu Rinne wrote:

 from matplotlib import ft2font

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/

lib/python

2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: /

Users/jdhunter

/devbuild/lib/libfreetype.6.dylib

Am I missing something or is this 0.99.1 OSX package somehow broken?

I think it’s broken – it’s looking for a libfreetype in the:

Users/jdhunter/devbuild/lib/

dir, which you’re pretty unlikely to have!

John, did you mean to have only static lbs in your devbuild/lib dir,

which I think would work?

I’ve removed the shared object libs before building the binaries, so

now the static libs should be compiled in. Teemu, can you test again

with the 0.99.1.1 OSX binaries at the download site?

https://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/

JDH


Come build with us! The BlackBerry® 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/devconf


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Hi John,

Yes, works fine now, no error messages after from pylab import * .

And now my code using imshow and masked_arrays works again as expected, great!

Thank you,

Teemu

John Hunter kirjoitti 24.9.2009 kello 5.59:

···

On Wed, Sep 23, 2009 at 4:39 PM, Christopher Barker > <Chris.Barker@...259...> wrote:

Teemu Rinne wrote:

     from matplotlib import ft2font
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/
lib/python
2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: /
Users/jdhunter
/devbuild/lib/libfreetype.6.dylib

Am I missing something or is this 0.99.1 OSX package somehow broken?

I think it's broken -- it's looking for a libfreetype in the:

Users/jdhunter/devbuild/lib/

dir, which you're pretty unlikely to have!

John, did you mean to have only static lbs in your devbuild/lib dir,
which I think would work?

I've removed the shared object libs before building the binaries, so
now the static libs should be compiled in. Teemu, can you test again
with the 0.99.1.1 OSX binaries at the download site?

matplotlib - Browse /matplotlib/matplotlib-0.99.1 at SourceForge.net

JDH