Python pickling error: TypeError: object pickle not returning list. Issue with numpy?
问题 I wrote a script that does a bit of data processing, then pickles the results before doing some more processing so I can fiddle with final parameters for plotting. I am pickling lists of two classes that I've created. Pickling is fine for each list, but unpickling one list returns the following error: Traceback (most recent call last): File "script.py", line 980, in <module> main() File "script.py", line 956, in promoter_main open(os.path.join(pickle_dir, 'doublep.pickle'), 'rb')) File "/usr