I can import numpy in the shell and in the IDLE but when I run the project the drop an error that says "module numpy has no attribute array" and I don't know how to solve this.
Asked
Active
Viewed 141 times
0
-
Please give more details: which IDLE, which shell, which OS, where your script is executed from, etc. – Jacques Gaudin May 19 '16 at 17:29
-
The default idle and shell from the python page, my OS is windows – RedBoots May 19 '16 at 17:33
-
https://www.python.org/downloads/ – RedBoots May 19 '16 at 17:37
-
OK just checking your note on an on-line interpreter. So you can run the script from the IDLE but not from the command line ? – Jacques Gaudin May 19 '16 at 17:38
-
What's the name of the files in the project? Is there a numpy.py by any chance? – Wasif Hyder May 20 '16 at 00:19
-
Check this instructions how to install nupy the right way: http://stackoverflow.com/a/28414059/524743 – Samuel May 20 '16 at 00:54