I have PyDev for Eclipse 126.96.36.1991121518
I am using python 3.2, and installed numpy 1.6.1 from source.
When I start up the interpreter from the command line running "import numpy" works just fine.
However, this same import statement is causing errors when I include it in a simple file.
The error output I get is:
"Traceback (most recent call last):
File "/home/ryan/workspace/pyemsolver/src/main.py", line 8, in <module>
File "/usr/local/lib/python3.2/site-packages/numpy/__init__.py", line 137, in <module>
from . import add_newdocs
File "/usr/local/lib/python3.2/site-packages/numpy/add_newdocs.py", line 9, in <module>
from numpy.lib import add_newdoc
File "/usr/local/lib/python3.2/site-packages/numpy/lib/__init__.py", line 4, in <module>
from .type_check import *
File "/usr/local/lib/python3.2/site-packages/numpy/lib/type_check.py", line 8, in <module>
import numpy.core.numeric as _nx
File "/usr/local/lib/python3.2/site-packages/numpy/core/__init__.py", line 5, in <module>
from . import multiarray
ImportError: cannot import name multiarray
I looked into my numpy installation directory, and there is no multiarray.py file,
but there is a file named "site-packages/numpy/core/multiarray.cpython-32m.so"
Thanks for PyDev, by the way. It works well otherwise for me and I really appreciate
the work that has gone into making it.