Hello,
I am trying to open old .psydat files collected using psychopy 1.71 (if I remember correctly). I use windows 10/anaconda/spyder. Below is the relevant code section with the associated error:
> import os
> import numpy as np
> os.chdir("C:\\Program Files (x86)\\PsychoPy2\\Lib\\site-packages")
> from psychopy.misc import fromFile
>
> filename = "s1_2013_Oct_11_1827.psydat"
> dat=fromFile (filename)
>
> Traceback (most recent call last):
>
> File "<ipython-input-297-0d1c6933b228>", line 1, in <module>
> dat=fromFile (filename)
>
> File "psychopy\tools\filetools.py", line 35, in fromFile
> contents = cPickle.load(f)
>
> ImportError: No module named data
Any idea?
Best,
M.