Load pickle file(comes from python3) in python2
问题 I have a pickle file, with >>> with open("wikilinks.pickle", "rb") as f: ... titles, links = pickle.load(f) ... >>> len(titles) 13421 I can load it in python3. However, when I try to load it in python2, I get this message: Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/usr/lib/python2.7/pickle.py", line 1378, in load return Unpickler(file).load() File "/usr/lib/python2.7/pickle.py", line 858, in load dispatch[key](self) File "/usr/lib/python2.7/pickle.py", line