Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

_pickle.UnpicklingError: the STRING opcode argument must be quoted #14

Closed
dli98 opened this issue Feb 3, 2020 · 1 comment
Closed

Comments

@dli98
Copy link
Owner

dli98 commented Feb 3, 2020

No description provided.

@dli98
Copy link
Owner Author

dli98 commented Feb 3, 2020

大于3.4的Python版本中,pickle文件必须使用Unix新行。否则pickle.UnpicklingError。
运行 dos2unix.py修改格式。

参考:
https://stackoverflow.com/questions/45368255/error-in-loading-pickle

@dli98 dli98 closed this as completed Feb 3, 2020
@dli98 dli98 pinned this issue Feb 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant