The experiment lib used to live in the app but it shouldn't. It's needed to load/write experiments but we don't need all the app machinery for that! That means:
- we were loading way more files than were needed (the app machinery like wxpython shouldn't be needed to write a script!)
- it's now broken due to the missing pypi-search which the app needed in 2024 but isn't needed to write an experiment file
This should be fixed by the below line from:
from psychopy.app.builder import experiment
to be
from psychopy import experiment
|
from psychopy.app.builder import experiment |
The
experimentlib used to live in the app but it shouldn't. It's needed to load/write experiments but we don't need all the app machinery for that! That means:This should be fixed by the below line from:
from psychopy.app.builder import experimentto be
from psychopy import experimentpsychopy/psychopy/scripts/psyexpCompile.py
Line 146 in 1bce77f