[CVALE] debian-etch Python problem
david burzota
david_burzota at hotmail.com
Mon Nov 20 02:35:30 PST 2006
Hi, folks
I've got a problem on my debian system: the python "math"
stuff doesn't seem to be there.
All the docs seem to say the math module is supposed to be
built-in. Here is an example of what I get when I try a math function:
>david at orange:~$ python
>Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58)
>[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>>print math.sin(0)
>Traceback (most recent call last):
> File "<stdin>", line 1, in ?
>NameError: name 'math' is not defined
>>>>print sin(0)
>Traceback (most recent call last):
> File "<stdin>", line 1, in ?
>NameError: name 'sin' is not defined
Thanks in advance for any help
David
_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial!
http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://clk.atdmt.com/MSN/go/msnnkwlo0050000001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail
More information about the cvale
mailing list