WIdgeteye <[EMAIL PROTECTED]> writes: > ImportError: No module named math > [...] > I have been using python on my computer since it first came out and > this is the first time I have runinto this. I have Python 2.3.2 > installed on Slackware Linux. I installed it from source download > from the Python.org web site.
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. >>> import math >>> repr(math) "<module 'math' from '/usr/lib/python2.3/lib-dynload/math.so'>" >>> $ 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. -- \ "My doctor told me to stop having intimate dinners for four. | `\ Unless there are three other people." -- Orson Welles | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list