The ordinal 242 could not be located in the dynamic link library Anaconda3\Library\bin\mkl_intel_thread.dll

前端 未结 8 829

I have just installed Anaconda 5.3 64-bit (Anaconda3-5.3.0-Windows-x86_64) on Windows 10 and am getting this error when trying to run Spyder.

pythonw.exe

相关标签:
8条回答
  • 2020-12-24 13:54

    The quick answer:

    set CONDA_DLL_SEARCH_MODIFICATION_ENABLE=1
    

    I set a user environment variable for this.

    The official answer is here.

    0 讨论(0)
  • 2020-12-24 13:55

    Another way which Works for me (I deleted all DLL files but the problem continued) was to downgrade ANACONDA to Anaconda3-5.2.0-Windows-x86_64. I got the installer in this link

    0 讨论(0)
  • 2020-12-24 14:01

    Following @Azrael_DD's solution to downgrade to anaconda v5.2.0, you can also do it through a normal console:

    conda install anaconda=5.2.0
    
    0 讨论(0)
  • 2020-12-24 14:08

    What fixed this issue for me was to uninstall Amplitube and ActiveState Python. I was receiving this exception while using Anaconda prompt and some NLP packages.

    0 讨论(0)
  • 2020-12-24 14:10
    ['System32\libiomp5md.dll', 'System32\mkl_core.dll', 
    'System32\mkl_def.dll','System32\mkl_intel_thread.dll',
    'SysWOW64\libiomp5md.dll','SysWOW64\mkl_core.dll','SysWOW64\mkl_intel_thread.dll', 
    'SysWOW64\mkl_p4.dll', 'SysWOW64\mkl_p4m.dll','SysWOW64\mkl_p4m3.dll', 
    'SysWOW64\mkl_p4p.dll']
    

    Remove all these dll files from C:\Windows\SysWOW64 and C:\Windows\System32

    Just do this and restart the spyder once again and hurrrahhhh!!! ur problem will be solved and spyder will open without showing any ordinal 242 error............just do it it is the only solution..

    0 讨论(0)
  • 2020-12-24 14:14

    This is not a proper answer, but for me (having the exact same problem) a workaround was to downgrade "anaconda" to 5.2.0 with the Anaconda Navigator. If that works for you, too, you could start upgrading individual packages to see when the error reappears. Maybe it is a bug in one of the packages, not a problem with our systems.

    Edit: Here are some links to similar or related discussions:

    • entry point mkl_blas_dgem2vu could not be located
    • https://github.com/spyder-ide/spyder/issues/7357

    More edit: It also helped me to find the following files in "C:\Windows\System32" and rename them (I just appended "_renamed" to the file name).

    • mkl_core.dll
    • mkl_def.dll
    • mkl_intel_thread.dll

    If I understand correctly, Python will use those instead of the ones in the Anaconda folder, which can cause problems.

    0 讨论(0)
提交回复
热议问题