| Reference | Downloads | Github

Reading psydat and cpickle error

OS (e.g. Win10): Win10/OSX
PsychoPy version (e.g. 1.84.x): 3.1.2
Standard Standalone? (y/n) If not then what?: yes
What are you trying to achieve?:

I am creating psydat files from the experiments and I am trying to read them.

I installed the coder version, following this page.
Then I ran the default code from here

Problem is everytime I run this code I get a cpickle error.

contents = cPickle.load(f)
ValueError: unsupported pickle protocol: 3

What did you try to make it work?:

I tried going to the psychopy conda environment I created to manually change the protocol from 3 to 2 so it would work with python 2.7 but to no avail.