numpy is already installed with Anaconda but I get an ImportError (DLL load failed: The specified module could not be found)

I have actually figured out the solution. I had initially edited my System Environment Variable β€˜PATH’ by adding the path to the Scripts folder in my Python executable directory.
Turns out, this was NOT enough…

I had to add more paths to it, and that magically did the trick.

See below the paths I added for the System Environment Variable PATH:

C:\Users\<myusername>\AppData\Local\Continuum\Anaconda3\Scripts\
C:\Users\<myusername>\AppData\Local\Continuum\Anaconda3\Library\
C:\Users\<myusername>\AppData\Local\Continuum\Anaconda3\Library\bin\
C:\Users\<myusername>\AppData\Local\Continuum\Anaconda3\Library\mingw-w64\bin\

Now, I am not sure exactly which one path among these 4 my System was really looking for in particular. However, adding this combination sure did work for me 😊

Leave a Comment