I am trying to unpickle a file received from someone else (which is to say I don't have access to the source code). On trying pickle.load(filename)
I get the following error:
_pickle.UnpicklingError: invalid load key, '\x01'
I know that the pickle file also tries to import some outdated modules and am not sure if that is causing the problem?
Some answers on SO suggest not unpickling a file that I don't trust. In that case is my only option asking the owner to send me an unpickled version?