[newbie] Problem with matplotlib

Dave Farrance df at see.replyto.invalid
Sat Feb 20 03:30:46 EST 2016


jenswaelkens at gmail.com wrote:

>  File "/usr/lib/python2.7/decimal.py", line 3744, in <module>
>    _numbers.Number.register(Decimal)
>AttributeError: 'module' object has no attribute 'Number'

Your decimal module seems broken. Confirm that in the Python shell:

import numbers
print numbers.Number

I'm guessing you'll get:
AttributeError: 'module' object has no attribute 'Number'

It appears to be the usual decimal module of the current linux system
python 2.7, so a corrupt hard disk?


More information about the Python-list mailing list