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

后端 未结 5 912
鱼传尺愫
鱼传尺愫 2020-11-30 04:03

I am using the Anaconda distribution with Python 3.7. Among the packages installed, I have numpy, pandas, etc. In PyCharm IDE, I have set the Project Interpreter to be the p

5条回答
  •  时光说笑
    2020-11-30 04:38

    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\\AppData\Local\Continuum\Anaconda3\Scripts\
    C:\Users\\AppData\Local\Continuum\Anaconda3\Library\
    C:\Users\\AppData\Local\Continuum\Anaconda3\Library\bin\
    C:\Users\\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

提交回复
热议问题