bo602505401
2017-08-13 08:08关于pycharm 调试python时抛出非自身程序异常
2直接运行2个print语句,顺利打印,但是一断点就报错"
D:\Code Path\Python\python.exe" "D:\Code Path\PyCharm Community Edition 2017.2\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 51337 --file D:/Pyworkpace/test.py
pydev debugger: process 5864 is connecting
Connected to pydev debugger (build 172.3544.44)
Traceback (most recent call last):
File "D:\Code Path\PyCharm Community Edition 2017.2\helpers\pydev\pydevd.py", line 1599, in
globals = debugger.run(setup['file'], None, None, is_module)
File "D:\Code Path\PyCharm Community Edition 2017.2\helpers\pydev\pydevd.py", line 1002, in run
self.prepare_to_run()
File "D:\Code Path\PyCharm Community Edition 2017.2\helpers\pydev\pydevd.py", line 905, in prepare_to_run
self.patch_threads()
File "D:\Code Path\PyCharm Community Edition 2017.2\helpers\pydev\pydevd.py", line 926, in patch_threads
patch_thread_modules()
File "D:\Code Path\PyCharm Community Edition 2017.2\helpers\pydev_pydev_bundle\pydev_monkey.py", line 656, in patch_thread_modules
patch_thread_module(t)
File "D:\Code Path\PyCharm Community Edition 2017.2\helpers\pydev_pydev_bundle\pydev_monkey.py", line 622, in patch_thread_module
_original_start_new_thread = thread._original_start_new_thread = thread.start_new_thread
AttributeError: module 'thread' has no attribute 'start_new_thread'
重新下了几次pycharm也不行,用的是Anaconda的python3.6
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- matplotlib 绘图代码如何在 PyCharm 中有提示或者自动补全
- python
- 1个回答
- pycharm安装不了BeautifulSoup模块。
- python
- 1个回答
- python/pycharm安装requests时错误怎么办?
- python
- 2个回答
- pycharm安装下载下来的第三方包
- python
- 4个回答
- 关于Mac下python pip版本问题以及pycharm安装python第三方库失败问题
- python
- 1个回答