No math module??

Tim Roberts timr at probo.com
Wed May 24 01:15:46 EDT 2006


WIdgeteye <None at none.none> wrote:
>
>On Tue, 23 May 2006 12:40:49 +1000, Ben Finney wrote:
>
>Ok this is weird. I checked:
>/usr/local/lib/python2.3/lib-dynload/math.so
>
>Just as you have on your system and it's there.
>So why in the heck isn't it loading with:
>import math    ????
>
>This is strange.

Is the Python that you are running actually 2.3?  Some Linux systems have
both Python 1 and a Python 2 installed.  Typing "python" at a command line
often gets Python 1, because the vendor's configuration scripts assume
that.

However, that doesn't answer the question, because even Python 1.5 should
have a module called "math".
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list