Hi, does anybody know why I'm getting this error importing pylab?
Thanks in advance!
Traceback (most recent call last):
File /Users/Kates/Documents/ps11.py, line 9, in module
from pylab import *
File
It appears that matplotlib is having trouble finding the freetype
dynamic lib in your /usr/X11R6/lib folder when it references it. I'd
check that folder to see if the dylib is there. If it isn't, reinstall
the X11 dev tools. If it is, something is wrong with the dynamic lib
opening, so I'd
The sensitive root folders (like /usr) are hidden from the Finder so
that it's hard for someone that doesn't know about them to
accidentally delete/move something sensitive that's supposed to stay
put. You can get around this easily either with Terminal or Finder
itself.
If you're comfortable
Could you try just typing cd /usr, then ls and checking what
folders are in there? Is there an X11 folder in there at all?
Josh
On Wed, Nov 19, 2008 at 12:53 PM, Katie Thomas [EMAIL PROTECTED] wrote:
So I have downloaded matplotlib I'm sure, but when I type cd
/usr/X11R6/lib into the terminal
Joshua Lippai wrote:
If you're not comfortable with Terminal:
-Open a Finder window
-From the menubar, click Go - Go to Folder...
You can also re-set finder to show you the hidden dirs -- I always have
mine set up that way. The easiest way is to use a utility called
TinkerTool, but you
Either way, the problem is that matplotlib is trying to access a file
somewhere that doesn't exist (and needs to exist). Make sure you have
X11 installed on the computer (simple spotlight search should turn up
the app frontend), and then install the X11 package from Apple's Xcode
developer tools
Note: If you don't have X11 installed at all (not just the dev tools,
but not even X11 itself, which would mean you're running something
pre_leopard I assume), you can install this as one of the optional
components of your OS X install disc.
Josh
On Wed, Nov 19, 2008 at 1:11 PM, Joshua Lippai
So I have downloaded matplotlib I'm sure, but when I type cd /usr/
X11R6/lib into the terminal is says no such file or directory.
Do you know what this means?
Thanks for all your help,
Katie
On Nov 19, 2008, at 3:49 PM, Joshua Lippai wrote:
The sensitive root folders (like /usr) are hidden
Oh, I figured it out. It's not there. How do I reinstall the X11
dev tools?
On Nov 19, 2008, at 3:57 PM, Joshua Lippai wrote:
Could you try just typing cd /usr, then ls and checking what
folders are in there? Is there an X11 folder in there at all?
Josh
On Wed, Nov 19, 2008 at 12:53 PM,