导入seaborn 报错from .widgets import *,AttributeError: module 'cmd' has no attribute 'Cmd'

导入seaborn 报错from .widgets import *,AttributeError: module 'cmd' has no attribute 'Cmd'

1、重新安装numpy或seaborn,使两者的安装来源一样,

重装了seaborn,未生效

2、重新安装ipywidgets

无效

3、最终修改了包名,离类更近的文件夹名叫cmd,未加载到正常Pdb的cmd

 

猜你喜欢

转载自blog.csdn.net/luansj/article/details/105397559