Anaconda运行出现ImportError: DLL load failed: 找不到指定的模块 问题

新安装Anaconda3,运行简单语句正常,但是运行jupyter 或 matplotlib 出现如下问题:

day09>jupyter notebook
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\Scripts\jupyter-notebook-script.py", line 6, in 
    from notebook.notebookapp import main
  File "C:\ProgramData\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 62, in 
    from tornado import httpserver
  File "C:\ProgramData\Anaconda3\lib\site-packages\tornado\httpserver.py", line 29, in 
    import ssl
  File "C:\ProgramData\Anaconda3\lib\ssl.py", line 98, in 
    import _ssl             # if we can't import it, let the error propagate
ImportError: DLL load failed: 找不到指定的模块。

问题原因:

环境变量未配置正确,要配置3个环境变量:

C:\ProgramData\Anaconda3

C:\ProgramData\Anaconda3\Scripts

C:\ProgramData\Anaconda3\Library\bin

我就是配置前2个,后面一个忘了配,所以一直提升没有DLL……

弄了一个晚上,反复安装卸载Anaconda……愿对大家有用~

 

你可能感兴趣的:(python)