Op zaterdag 20 februari 2016 09:43:35 UTC+1 schreef Mark Lawrence:
> On 20/02/2016 07:42, jenswaelk...@gmail.com wrote:
> > When I use either of the following commands I get an error for which I
> > don't have a solution, could someone here help me further?
> > These are the commands:
> > import
Op zaterdag 20 februari 2016 09:50:05 UTC+1 schreef Dave Farrance:
> It occurs to me now that the trackback might misidentify the module in
> use, if say, you'd named a file "numbers.py" then got rid of it later
> leaving a "numbers.pyc" somewhere. If so, see where it is:
>
> import numbers
>
Dave Farrance wrote:
>It occurs to me now that the trackback might misidentify the module in
>use, if say, you'd named a file "numbers.py" then got rid of it later
>leaving a "numbers.pyc" somewhere. If so, see where it is:
>
>import numbers
>print numbers.__file__
I
It occurs to me now that the trackback might misidentify the module in
use, if say, you'd named a file "numbers.py" then got rid of it later
leaving a "numbers.pyc" somewhere. If so, see where it is:
import numbers
print numbers.__file__
--
https://mail.python.org/mailman/listinfo/python-list
On 20/02/2016 07:42, jenswaelk...@gmail.com wrote:
When I use either of the following commands I get an error for which I don't
have a solution, could someone here help me further?
These are the commands:
import matplotlib.pyplot as plt
Are you certain that this is what you typed?
jenswaelk...@gmail.com wrote:
> File "/usr/lib/python2.7/decimal.py", line 3744, in
>_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
When I use either of the following commands I get an error for which I don't
have a solution, could someone here help me further?
These are the commands:
import matplotlib.pyplot as plt
or
from matplotlib.pyplot import pyplot as plt
This is the error I get:
Traceback (most recent call last):