【发布时间】:2020-12-02 00:21:58
【问题描述】:
我在 Spyder 中使用包 cvb 和 Python 3.6。
我得到了
import cvb
在我的脚本之上
如果我使用 F5 运行整个脚本,我会收到此导入错误 (AttributeError: module '_cvb' has no attribute 'NotifyArgs)。
如果我选择 import cvb 然后按 F9 运行 selction 没有错误,我可以在之后按 F5 运行脚本也没有错误。
F5和F9调用有什么区别?
【问题讨论】:
标签: python import spyder attributeerror