On 06-03-2015 21:43, boB Stepp wrote:
On Fri, Mar 6, 2015 at 12:27 PM, Markos<mar...@c2o.pro.br> wrote:
Hi,
I'm beginning to study the numpy.
When I open a terminal (Debian Squeeze) and run the python interpreter the
command "import numpy as np" run without errors.
But when I run the same command on idle3 the following error appears.
import numpy as np
Traceback (most recent call last):
File "<pyshell#0>", line 1, in<module>
import numpy as np
ImportError: No module named numpy
How configure idle to load the numpy module?
You don't by chance have Python 2 installed as well as Python 3, where
Python 2 is associated with your terminal session? And your numpy
module is for Python 2, not 3? That is my first thought, but I'm sure
the experts will chime in shortly with a more definitive diagnosis.
Hi boB,
I installed numpy in Debian (6.0) with the command:
apt-get install python-numpy
I just find that this package is exclusively for python 2.5 and 2.6
The idle3 use Python 3.1.3.
How to install numpy for Python 3 in order to use it with the idle?
Is there any simple way?
Thanks,
Markos
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor