python - Using numpy with PyDev -


Although I'm talking to Python for a while, I'm completely new to using Python libraries . As a result, I have difficulty in getting spoiled for working with a foothold.

PYTHONPATH > External Library Add zip / jar / egg, how do I add the Library in Eclipse I have downloaded that I downloaded the numpy-1.9.0.zip The file is selected. I tried importing and using samples, but I got the following error message in Eclipse:

Unexpected variable from import: array.

I looked up at it, and tried some different things. I tried to go to the window Preferences > PyDev > Interpreter > Python interpreter I used Python 3.4.0 Selected, then forced to go to the dam > New, and "numpy" were recorded, it had no effect, so I tried to get back to the window > Preferences > PyDev > Interpreter > Python interpreter, selecting Python 3.4.0, and then, the library Under the new, select New Eg / Zip (S), then add the numpy-1.9.0.zip file. I did not have any effect on this Preferences > PyDev > Interfterters > String and Substitution under Python Interpreters (Python 3.4) Have tried the Variable tab .0) This did nothing.

Finally, I tried to add just the # uncompressed variable to broken lines, when I ran it, then he gave me the following error:

importError: named module 'numpy'

What can I do to try it out?

I recommend that you setup.py to archive downloads or "superpack" To download, suitable for windows, if you also work on windows.

In PyDev, I finished the problems with the new libraries using the autoconfig button. If that does not work, then another solution can be solved and reconfigure the dragon interpreter.


Comments