ver 2.6,2.7 not working with python 2.7

robert roze rbroze at
Fri Nov 5 18:50:13 CET 2010

I have a 'Python 2.7' installed.

It seems like the module that comes with the Python2.7 package is not 
working. I hope I'm wrong, but here's why I think so:

If I simply try to import the module, I get this error:

>>> import decimal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/ictools/python_2_7/lib/python2.7/", line 3700, in 
AttributeError: 'module' object has no attribute 'Number'

But, if I download, and import the 2.5 version of, it imports with no 

In the 2.5 version of, there is no reference to '_numbers' like there 
is in the 2.6 and 2.7 versions. 

Is this a bug, or is there something I can do to fix it (as a user, with limited 
permissions)? I don't feel good about continuing to run with the 2.5, 
since I'll be using alot of numpy and other modules that use decimal, and I 
don't know how they'll react.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list