Hello, in my script I use module oct2py, which is needed, because I call a function written in matlab/octave. The function and the module itself work outside psychopy, but in PsychoPy I get an Import Error.
First, I got this error
File "D:\Repos\gpsy_main\tasks\nback.py", line 40, in <module> from oct2py import octave ImportError: No module named oct2py ()
Then I added path to site-packages folder to PsychoPy preferences as described here: https://www.psychopy.org/recipes/addCustomModules.html.
Now I get the following error.
File "D:\Repos\gpsy_main\tasks\nback.py", line 40, in <module> from oct2py import octave File "c:\python27\lib\site-packages\oct2py\__init__.py", line 26, in <module> from .core import Oct2Py File "c:\python27\lib\site-packages\oct2py\core.py", line 13, in <module> from metakernel.pexpect import EOF, TIMEOUT File "c:\python27\lib\site-packages\metakernel\__init__.py", line 1, in <module> from ._metakernel import ( File "c:\python27\lib\site-packages\metakernel\_metakernel.py", line 20, in <module> from IPython.paths import get_ipython_dir ImportError: No module named paths
This is on PsychoPy2, latest version, Win 10. I get very similar error on PsychoPy3 and on Mac Mojave 10.14.3. (both PsychoPy 2 and 3), just some other modules are mentioned. I also tried to install oct2py directly to PsychoPy folder but I get the same error.
Would it help to manually install PsychoPy?