barnumbirr / coinmarketcap

A python wrapper around the https://coinmarketcap.com API.
Apache License 2.0
437 stars 110 forks source link

Unsupported Pickling Protocol: 3 #26

Closed jacksoncook closed 6 years ago

jacksoncook commented 6 years ago

I am attempting to use the API on python 2.7, but I have encountered an Unsupported Pickling Protocol: 3. I have done some research into pickle and have been unable to decipher how to correct the pickling protocol using pickle.dumps() and pickle.loads().

jacksoncook commented 6 years ago

Ran initially on python 3.5, causing the sqlite file to be pickle protocol 3. Therefore when I ran on python 2.7 with the previous sqlite file in the folder, the python 2.7 could not handle the pickle protocol 3 it already had.