No math module??

Tim Roberts timr at
Wed May 24 07:15:46 CEST 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:
>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

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

More information about the Python-list mailing list