【发布时间】:2021-07-30 19:07:00
【问题描述】:
运行 Pycharm 调试器引发以下异常:
INFO:werkzeug: * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
PYDEV DEBUGGER WARNING:
sys.settrace() should not be used when the debugger is being used.
This may cause the debugger to stop working correctly.
If this is needed, please check:
http://pydev.blogspot.com/2007/06/why-cant-pydev-debugger-work-with.html
to see how to restore the debug tracing back correctly.
Call Location:
File "/.../venv/lib/python3.6/site-packages/coverage/collector.py", line 278, in _installation_trace
sys.settrace(None)
如异常所示,Pycharm 调试器和coverage 包之间存在冲突。
这是我的 Pycharm 执行配置:
我该如何解决这个问题?
【问题讨论】:
标签: python python-3.x flask pycharm