【发布时间】:2016-08-28 11:51:08
【问题描述】:
我是使用 Python 和 Spyder 的新手。我使用 Python 3.5 和 Spyder 2.3.8。我想调试我的代码并设置断点。然后内部控制台出现了这个错误:
Traceback (most recent call last):
File "C:\Anaconda3\lib\site-packages\spyderlib\plugins\externalconsole.py", line 713, in set_spyder_breakpoints
shellwidget.shell.set_spyder_breakpoints()
AttributeError: 'TerminalWidget' object has no attribute 'set_spyder_breakpoints'
当我运行代码时,断点会被忽略。 任何想法如何解决这个问题? 谢谢!
【问题讨论】:
-
你是否通过 conda 安装了 Spyder?
-
@Leb 是的,我安装了 Anaconda,Spyder 也包含在其中
标签: python debugging breakpoints spyder