我刚从百度下载了一个酸洗数据集,我试图将其解压,但我收到了这个错误
AttributeError: Can't get attribute 'DataSet' on <module '__main__' from 'directory'>
如果你能帮助我,我将不胜感激
我尝试了下面的代码。
我使用“latin1”是因为我认为在我使用Python3时,pickle文件可能已经在Python2中转储了
with open('name.pkl','rb') as f:
abc = pickle.load(f ,encoding='latin1')
AttributeError: Can't get attribute 'DataSet' on <module '__main__' from 'directory'>
目前没有回答
相关问题 更多 >
编程相关推荐