- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On Windows 10, I installed 64-bit Python 3.6.8 from python.org, then installed numpy with "pip install -U intel-numpy".
Then when importing numpy I get the below error. Please advise on the fix.
Thanks!
>> python -c "import numpy"
Traceback (most recent call last):
File "C:\Users\chnoyes\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\__init__.py", line 16, in <module>
from . import multiarray
ImportError: DLL load failed: The specified module could not be found.During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\chnoyes\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\__init__.py", line 158, in <module>
from . import add_newdocs
File "C:\Users\chnoyes\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "C:\Users\chnoyes\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
from .type_check import *
File "C:\Users\chnoyes\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "C:\Users\chnoyes\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\__init__.py", line 26, in <module>
raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.Original error was: DLL load failed: The specified module could not be found.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a common problem if you install versions with intermixed pip and numpy dependencies in an environment. Can you post your conda list and conda info output for us to look at?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not using Anaconda. This is a clean install of python from the python.org binaries, and intel-numpy is the first and only package installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pip has not collected one of the dependencies right then. You'll need to remove the packages from /site-packages/numpy/ and try to reinstall NumPy. Multiarray is a common failure in NumPy if the installation fails to install correctly.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page