I try to use code, where I use scipy
and sklearn
, but I get an error: ImportError: Missing required dependencies ['numpy']
.
I download and install there from link, but nothing changed.
Why can I change that?
Asked
Active
Viewed 7,326 times
1

NineWasps
- 2,081
- 8
- 28
- 45
-
1How did you install it? What does `import numpy` give you? – Nils Gudat May 27 '16 at 10:06
-
@NilsGudat nothing. I download `whl` and install that using pip, but this error hasn't disappear – NineWasps May 27 '16 at 10:09
-
Nothing meaning no error, i.e. you can do e.g. `numpy.random.rand()` and it returns a random number? – Nils Gudat May 27 '16 at 10:14
-
When I try `import numpy` in console, I get `ImportError: DLL load failed: %1 Win32` – NineWasps May 27 '16 at 10:21
-
Check [other questions on this](http://stackoverflow.com/questions/19019720/importerror-dll-load-failed-1-is-not-a-valid-win32-application-but-the-dlls), there seems to be an issure with the numpy version you installed. – Nils Gudat May 27 '16 at 10:28
-
@NilsGudat I saw this question and after install from there site error hasn't disappear – NineWasps May 27 '16 at 10:33
-
Did you see the others answers mentioned in the link posted by @NilsGudat the second answer seems to be your solution. – shivsn May 27 '16 at 11:52
-
@shivsn I check that, I have 64-bit windows, 64 python and 64-bit packages – NineWasps May 27 '16 at 12:12
-
I think the error message you see when running `import numpy` is an important piece of information, and you should edit your question to include it. – Imperishable Night Jun 17 '19 at 23:29
1 Answers
0
I think that is caused by environment variable.If you step in, you may found the error is 'DLL cound not found'. please check if the direction is included. my answer for another question