No math module??

WIdgeteye None at none.none
Mon May 22 23:28:39 EDT 2006


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.



> WIdgeteye <None at none.none> writes:

>> [quoted text muted]
> 
> It definitely should be part of the default Python install. On my Debian
> system:
> 
> =====
> $ python
> Python 2.3.5 (#2, Sep  4 2005, 22:01:42) [GCC 3.3.5 (Debian 1:3.3.5-13)]
> on linux2 Type "help", "copyright", "credits" or "license" for more
> information.
>> [quoted text muted]
> "<module 'math' from '/usr/lib/python2.3/lib-dynload/math.so'>"
>> [quoted text muted]
> $ dpkg -S /usr/lib/python2.3/lib-dynload/math.so python2.3:
> /usr/lib/python2.3/lib-dynload/math.so =====
> 
> Perhaps you should use the official Python package for your operating
> system, or double-check you built and installed the source packages the
> way you want them.




More information about the Python-list mailing list