Charger le fichier pickle (vient de python3) dans python2

J'ai un cornichon fichier, avec

>>> with open("wikilinks.pickle", "rb") as f:
...     titles, links = pickle.load(f)
... 
>>> len(titles)
13421

Je peux le charger dans python3.
Cependant, lorsque j'essaie de le charger en python2, j'obtiens ce 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 886, in load_proto
    raise ValueError, "unsupported pickle protocol: %d" % proto
ValueError: unsupported pickle protocol: 3

Donc comment le charger dans python2?

source d'informationauteur epx