I am setting an experiment through the builder where I have a python code routine that dynamically generates my stimuli. The code is calling an external python script through the subprocess python module.
So far so good. The code is running but it is using modules which are not part of psychopy (eg. h5py). So in order to solve that issue and to run it smoothly across the team (different computers), I have created a ‘modules’ folder in the working directory and downloaded my modules there (at the last version compatible with python 3.6). Then I added the path directly in my code before calling the external script:
When I print the system path, it is correctly added but the error remains:
ModuleNotFoundError: No module named ‘h5py’
I also tried previously to add the absolute path directly to the preferences but I got the same error. How to get psychopy to look in that folder for ressources?