Error numpy install

breamoreboy at gmail.com breamoreboy at gmail.com
Sat Aug 27 16:06:54 EDT 2016


On Saturday, August 27, 2016 at 5:45:58 PM UTC+1, GP wrote:
> I have installed numpy using the command pip install numpy from command prompt and I am getting the following error:
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in <module>
>     import numpy
>   File "C:\Users\GP\AppData\Local\Programs\Python\Python35\lib\site-packages\numpy\__init__.py", line 180, in <module>
>     from . import add_newdocs
>   File "C:\Users\GP\AppData\Local\Programs\Python\Python35\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
>     from numpy.lib import add_newdoc
>   File "C:\Users\GP\AppData\Local\Programs\Python\Python35\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
>     from .type_check import *
>   File "C:\Users\GP\AppData\Local\Programs\Python\Python35\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
>     import numpy.core.numeric as _nx
>   File "C:\Users\GP\AppData\Local\Programs\Python\Python35\lib\site-packages\numpy\core\__init__.py", line 14, in <module>
>     from . import multiarray
> ImportError: cannot import name 'multiarray'
> 
> I have also tried to install multiarray but it says: "Could not find a program that satisfies the requirement multiarray(from versions)
> 
> Any suggestions on how to install

This has been reported a lot over the last couple of years.  I've always overcome any numpy problems by downloading the appropriate version from http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy and then using pip install against the local file name.  HTH.

Kindest regards.

Mark Lawrence.



More information about the Python-list mailing list