由于ssl错误而无法运行flask文件

时间:2019-05-22 17:37:38

标签: python flask

C:\Users\Naph\Desktop\flask\flaskBlog>python flaskBlog.py
Traceback (most recent call last):
  File "flaskBlog.py", line 1, in <module>
    from flask import Flask
  File "C:\ProgramData\Anaconda3\lib\site-packages\flask\__init__.py", line 21,
in <module>
    from .app import Flask, Request, Response
  File "C:\ProgramData\Anaconda3\lib\site-packages\flask\app.py", line 25, in <m
odule>
    from . import cli, json
  File "C:\ProgramData\Anaconda3\lib\site-packages\flask\cli.py", line 18, in <m
odule>
    import ssl
  File "C:\ProgramData\Anaconda3\lib\ssl.py", line 98, in <module>
    import _ssl             # if we can't import it, let the error propagate
ImportError: DLL load failed: The specified module could not be found.

请帮助我运行flaskblog.py文件...

0 个答案:

没有答案