Hi! Together with others, I teach a Cognition Lab for undergraduates. Till now we have stubbornly kept using PsychoPy 1.82, because we had a small library of experiments that was working with that version. Now with Catalina that version of PsychoPy is no longer usable and we are in trouble (by the way, personally I am still using MacOs Mojave.)
From now on, as you read, please forgive my ignorance and be patient. It is my understanding that the main difference between the previous version of PsychoPy and PsychoPy 3 is that the latter runs Python 3. Is that the only difference or are there other ones? I have taken one of our files (the line length experiment - see attachment for the old version) and I have tried to convert it to python 3 using an online converter. Then I have tried to run it in PsychoPy 3 but I get the following message:
####### Running: /Users/serena/Dropbox/_CogLabs/Spring 2020/trial2to3.py #######
2020-01-30 14:26:32.247 python[52083:1835832] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
Traceback (most recent call last):
File “/Users/serena/Dropbox/_CogLabs/Spring 2020/trial2to3.py”, line 5, in
ModuleNotFoundError: No module named ‘xlwt’
Then, in the terminal, I have:
- switched to Python 3 on my Mac
nbp-25-133-222:OpenBUGS323 s $ python --version
- installed xlwt and checked it was installed with Python 3.8:
nbp-25-133-222:OpenBUGS323 s $ python3.8 -m pip install xlwt
Requirement already satisfied: xlwt in /Users/serena/.pyenv/versions/3.8.0/lib/python3.8/site-packages (1.3.0)
But I always get the same error message.
How can I get around the error? More in general, what’s the best way to translate our old experiment to PsychoPy 3?