I want to use iohub, but I am very frustrated. I have been trying (for weeks) to install 2 libraries with preferences (pytables, pyYAML). Your documentation gives this example: [‘/Users/jwp/code’, ‘~/code/thirdParty’]
I downloaded the 2 libraries and put them in a folder (PsychoPyLibraries) next to PychoPy3.app at the top level and put in PsychoPy preferences:
[‘Applications/PsychoPyLibraries/pytables/xxxx’,]
What do I put for the xxxx? The folder pytables has lots of folders and code.
I’ve tried a dozen guesses like setup.py, etc. I have no idea. Same question for pyYAML.
I want to use a tobii eye tracker. I put in the code from Chapter 19 of the PsychoPY book, but the first thing I get is:
WARNING: pytables package not found. ioHub functionality will be disabled.
I was hoping that 3.0.7 would have the required modules, but it doesn’t.
Now for my very stupid question. Maybe you should skip the following question, or just direct me to some more elementary site. I am on Mac (10.14) & your documentation says to use iohub it says I also need pyobjc. I have installed X-Code because I used to code in Objective C. So maybe its there? But since I really don’t know, I followed a bunch of instructions starting from a link in PsychPy documentation software requirements for iohub. I may have installed pyobjc but not sure.
First, I think I installed pip following some youtube instructions. I got on the terminal:
Installing collected packages: pip, wheel
Successfully installed pip-19.0.3 wheel-0.33.1
Then I tried to install pyobj, and the best I got was:
Found existing installation: pyobjc-core 2.5.1
Uninstalling pyobjc-core-2.5.1:
followed by pages and pages of red ink. I guess I have pyobj?
I think maybe just tell me how to install pytables and pyYAML and I’ll move from there. If I move ahead only one error message I will be grateful.
Thanks,
Bill Prinzmetal