IPython 错误 AttributeError: ‘EvalEnv‘ object has no attribute ‘get‘
程序员文章站
2022-05-29 11:50:37
...
近日,升级了Spyder 4.1.4,Ipython也随着升级到了7.16.1
bug也随着来了,运行没问题,一开用着好好的,但开始调试时就出问题了此时调试报错
看样子是和pytorch有关的,报错,因为在一些数据处理时可以调试,独独在导入torchvison时报的错
AttributeError: 'EvalEnv' object has no attribute 'get',无语了。。。
经过使用vscode依旧可以调试,后怀疑是Ipython有问题,于是降级为之前的7.15,暂时解决了这个问题
conda install ipython==7.15
推荐阅读
-
macos启动jupyter lab 错误:attributeerror: ‘extensionmanager‘ object has no attribute ‘_extensions‘
-
AttributeError: 'Table' object has no attribute 'plot'错误
-
IPython 错误 AttributeError: ‘EvalEnv‘ object has no attribute ‘get‘
-
Django报:AttributeError: tuple object has no attribute get
-
Django报:AttributeError: tuple object has no attribute get
-
python错误:AttributeError: 'module' object has no attribute 'setdefaultencoding'问题的解决方法
-
用tkinter时,想要Entry的值输出,调用了get(),报错:AttributeError: 'NoneType' object has no attribute 'get'
-
python错误:AttributeError: 'module' object has no attribute 'setdefaultencoding'问题的解决方法
-
python错误:AttributeError: 'module' object has no attribute 's
-
AttributeError: 'Table' object has no attribute 'plot'错误