O pylab why do you refuse to import?

Hi- I’m writing again.

I managed to switch my python version to 2.5, and reloaded numpy and matplotlib. Unfortunately, pylab still will not load:

import pylab
Traceback (most recent call last):
File “”, line 1, in
File “/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pylab.py”, line 1, in
from matplotlib.pylab import *
File “/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/pylab.py”, line 206, in
from matplotlib import mpl # pulls in most modules
File “/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/mpl.py”, line 2, in
from matplotlib import axis
File “/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/axis.py”, line 9, in
import matplotlib.font_manager as font_manager
File “/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/font_manager.py”, line 52, in
from matplotlib import ft2font
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: /usr/X11R6/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

What is going on? Is ft2font.so broken?

I’m using python 2.5.2 on a macbook, intel microprocessor, mac os 10.4.11

···

Windows Live™: Keep your life in sync. Check it out.

John Seales wrote:

Hi- I'm writing again.

I managed to switch my python version to 2.5, and reloaded numpy and matplotlib.

how did you install matplotlib?

  Unfortunately, pylab still will not load:

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: /usr/X11R6/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

What is going on? Is ft2font.so broken?

does that file exist?

If so, try running:

$ file ft2font.so

and see what it says -- it may be a PPC- only binary.

···

I'm using python 2.5.2 on a macbook, intel microprocessor, mac os 10.4.11

--
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...

Here’s what it says:

$ file ft2font.so
ft2font.so: Mach-O universal binary with 2 architectures
ft2font.so (for architecture i386): Mach-O bundle i386
ft2font.so (for architecture ppc): Mach-O bundle ppc

···

Date: Wed, 6 May 2009 15:09:57 -0700
From: Chris.Barker@…259…
To: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] O pylab why do you refuse to import?

John Seales wrote:

Hi- I’m writing again.

I managed to switch my python version to 2.5, and reloaded numpy and matplotlib.

how did you install matplotlib?

Unfortunately, pylab still will not load:

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: /usr/X11R6/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

What is going on? Is ft2font.so broken?

does that file exist?

If so, try running:

$ file ft2font.so

and see what it says – it may be a PPC- only binary.

I’m using python 2.5.2 on a macbook, intel microprocessor, mac os 10.4.11


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…


The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there’s a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you’ll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com


Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options


Insert movie times and more without leaving Hotmail®. See how.

Here’s what it says:

$ file ft2font.so
ft2font.so: Mach-O universal binary with 2 architectures
ft2font.so (for architecture i386): Mach-O bundle i386
ft2font.so (for architecture ppc): Mach-O bundle ppc

I installed matplotlib from the dmg file. I clicked on the icon to install it.

···

Date: Wed, 6 May 2009 15:09:57 -0700
From: Chris.Barker@…878…259…
To: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] O pylab why do you refuse to import?

John Seales wrote:

Hi- I’m writing again.

I managed to switch my python version to 2.5, and reloaded numpy and matplotlib.

how did you install matplotlib?

Unfortunately, pylab still will not load:

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/ft2font.so, 2): Library not loaded: /usr/X11R6/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

What is going on? Is ft2font.so broken?

does that file exist?

If so, try running:

$ file ft2font.so

and see what it says – it may be a PPC- only binary.

I’m using python 2.5.2 on a macbook, intel microprocessor, mac os 10.4.11


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…


The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there’s a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you’ll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com


Matplotlib-users mailing list
Matplotlib-users@…2569…sourceforge.net
matplotlib-users List Signup and Options


Insert movie times and more without leaving Hotmail®. See how.


Hotmail® has a new way to see what’s up with your friends. Check it out.