Tim Roberts wrote: > WIdgeteye <[EMAIL PROTECTED]> 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.
Maybe he's running a UK-based distro which has renamed the math module to maths? (I have to work really hard to remember *not* to put the "s" on the end when I import it! ;-) TJG -- http://mail.python.org/mailman/listinfo/python-list