错误日志
控制台错误
Traceback (most recent call last):
File "C:Program FilesJetBrainsPyCharm 2019.1.4helperspydevpydevd.py", line 15, in <module>
from _pydevd_bundle.pydevd_constants import IS_JYTH_LESS25, IS_PY34_OR_GREATER, IS_PY36_OR_GREATER, IS_PYCHARM, get_thread_id,
ModuleNotFoundError: No module named '_pydevd_bundle'
事件日志错误
Connection to Python debugger failed: Interrupted function call: accept failed
原因
windows 下使用的是的第一种压缩包解压式,应该使用第二种安装器安装,第一种相比第二种少了很多文件和文件夹。
错误日志
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
Traceback (most recent call last):
File "C:UsersxxxAppDataLocalProgramsPythonPython38libio.py", line 52, in <module>
File "D:/python/projects/python_first/firstabc.py", line 4, in <module>
RuntimeError: lost sys.stdout
原因
执行文件名称abc和python内部文件名称重复了,改个名称就行了。