AttributeError: 'NoneType' object has no attribute 'SSLContext' running flask script in PyCharm 2018.3.7 on Win10
问题 Running the Hello world script using flask: # coding=utf-8 from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" I get the following error(s): C:\anaconda3\python.exe C:/anaconda3/Scripts/flask-script.py run Traceback (most recent call last): File "C:/anaconda3/Scripts/flask-script.py", line 9, in <module> sys.exit(main()) File "C:\anaconda3\lib\site-packages\flask\cli.py", line 966, in main cli.main(prog_name="python -m flask" if as_module else None