[Pythonmac-SIG] Installed MacPython 10.3 Addons - Can't find
Modules, even standard ones.
njriley at uiuc.edu
Sun Nov 7 17:37:53 CET 2004
On Sun, Nov 07, 2004 at 11:13:34AM -0500, Louis Pecora wrote:
> Nicholas Riley wrote:
> >On Sun, Nov 07, 2004 at 07:25:33AM -0500, Louis Pecora wrote:
> >>I upgraded to Panther a month ago and just upgraded to MacPython 10.3
> >>Addons (as per Jack Jansen's page - thanks, Jack).
> >>But now my programs can't even find standard modules. from Numeric
> >>import * brings up the error window: Can't find module Numeric. Even
> >>trig functions sine and cosine generate the same type of error. I've
> >>looked over the FAQ and can't see any answers (maybe I missed
> >>something). I'm guessing this is a Path problem, but I'm stumped. I
> >>have PYTHONPATH set to some of my modules (which seems to work), but not
> >>sure what to do about standard stuff.
> >Numeric is not a standard module; you'll need to install it.
> OK. I thought it came with MacPython in the past. But aren't the trig
> functions part of the standard module?
This should work:
>>> import math
If it doesn't, what error message do you get?
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
More information about the Pythonmac-SIG