I installed Python and pip
on my Windows 10 machine (it's a Lenovo Yoga 3).
pip install numpy
generated errors, but I successfully installed it from a wheel.
This included a trick found at this question: Cannot install NumPy from a wheel format
Next I try using NumPy, and it doesn't find anything:
Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\J\Downloads>pip install numpy
Requirement already satisfied (use --upgrade to upgrade): numpy in c:\python27\lib\site-packages
C:\Users\J\Downloads>py -2
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\numpy\__init__.py", line 200, in <module>
from . import add_newdocs
File "C:\Python27\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
from numpy.lib import add_newdoc
File "C:\Python27\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
from .type_check import *
File "C:\Python27\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
import numpy.core.numeric as _nx
File "C:\Python27\lib\site-packages\numpy\core\__init__.py", line 14, in <module>
from . import multiarray
ImportError: DLL load failed: %1 is not a valid Win32 application.
>>>
This may not be specific to Python, but I have not figured it out yet. For work purposes, I have a dual-boot partition: Windows 10 and Ubuntu 15.04 (Vivid Vervet).
ImportError: DLL load failed: %1 is not a valid Win32 application. But the DLL's are there