module 'pickle' has no attribute 'dump'

后端 未结 2 1118
孤独总比滥情好
孤独总比滥情好 2021-02-19 21:40
import pickle

imelda = (\'More Mayhem\',
          \'IMelda May\',
          \'2011\',
          ((1, \'Pulling the Rug\'),
           (2, \'Psycho\'),
           (3, \         


        
2条回答
  •  心在旅途
    2021-02-19 22:11

    Happened to me too. I had a file called pickle.py in my current directory. Just rename it and it's fixed :)

提交回复
热议问题