ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 222 forks source link

When trying to use numpy: "DLL Load Failed: The specified procedure could not be found." #1508

Closed mxchinegod closed 5 years ago

mxchinegod commented 7 years ago

I've uninstalled, checked my environment variables, made sure I didn't have a conflicting .dll as detailed in this post: https://github.com/ContinuumIO/anaconda-issues/issues/835 to no avail.

I have Anaconda installed on another computer and it runs. Using Anaconda 4.3 on one and 4.2 on another. I've tried installing the same version on both, also didn't work. I don't know what the discrepancy is. There is no conflicting python version.

First noticed this when using pandas in the program (numpy dependency error). WIndows 10 x64. Just one day started doing this.

mingwandroid commented 5 years ago

There is no PATH mixup and this is not the recommended approach to fixing this issue. Please read https://github.com/ContinuumIO/anaconda-issues/issues/1508#issuecomment-446339859 and https://github.com/ContinuumIO/anaconda-issues/issues/1508#issuecomment-450762436

The best thing to happen would be for PyCharm to activate conda environments properly.

Until then, the next best option is to launch PyCharm from the Anaconda Prompt.

I am closing this as there's nothing for us to do here and anyone who's followed my instructions carefully has been able to get past this.

indramal commented 5 years ago

### The SOLUTION for "ImportError: DLL load failed: The specified procedure could not be found."

When you import numpy you get this error, right? python -c "import numpy"

So go to the Anaconda folder and go to site-packages folder according to the environment of anaconda. Then go to numpy.libs folder. There are *.dll file, right?

Now copy the link to the .libs folder and enter the path with "PATH" in anaconda prompt. PATH=path\to\site-packages\numpy\.libs;%PATH%

Now check again to import numpy. python -c "import numpy"

Now it is working right?

ghost commented 5 years ago

I have the same problem with Anaconda python 3.6 on windows10. while importing numpy

I figured out that there is a build problem between pip and conda so I did this

pip uninstall numpy

conda install numpy

Now it's working fine!