Description
I'm trying to install numpy 1.13.0. My machine is Windows 7, and my Python install is 64-bit Python 3.6.0. I previously had an older version of numpy installed (from Christoph Gohlke's site) but I uninstalled that. I also had a couple of Anaconda installations, but I also uninstalled them. However, when I try to import numpy, I get the above error:
PS 11:46 {00:04.053} D:\experiments
>pip install --no-cache numpy
Collecting numpy
Downloading numpy-1.13.0-cp36-none-win_amd64.whl (7.8MB)
100% |████████████████████████████████| 7.8MB 541kB/s
Installing collected packages: numpy
Successfully installed numpy-1.13.0
PS 11:46 {00:18.096} D:\experiments
>python
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "C:\Users\UK03306\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 procedure could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\UK03306\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\__init__.py", line 142, in <module>
from . import add_newdocs
File "C:\Users\UK03306\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\UK03306\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
from .type_check import *
File "C:\Users\UK03306\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\UK03306\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.
I've checked every other copy of Python on my PC and none of them have numpy installed. I really don't want to uninstall and reinstall my whole Python installation, as there's a lot of packages installed that I'd have to reinstall. None of the other packages, as far as I can tell, are likely to affect numpy (or if they might, they are at the latest version anyway).
What options do I have to work out what's wrong here before I have to clear out every Python install on my machine and do a full reinstall?