I am currently trying to design an experiment with EEG and Eyetracker (Tobii) for infants.
I am pretty sure the solution is not that complicated but I couldn’t make it work…
For now, I don’t have any problems to import the tobiiresearch library but I am not able to use the functions related to this packages. I assume I didn’t install it correctly maybe.
Here is my configuration :
- Os : macOS 10.13.6 High Sierra
- Psychopy : 2 v.1.90.3
- Python : 2.7 (the one integrated with Mac, I didn’t install it from Pypi so I don’t have the pip module)
- Tobii Pro SDK : v1.6 (https://www.tobiipro.com/product-listing/tobii-pro-sdk/#Download)
What I did for now is download the tobii SDK folder, extract the one named “tobiiresearch” and move it to Psychopy2.app/Contents/Ressources/lib/site-packages
I also tried to place it directly into the lib folder
When I run the command into the Psychopy Shell :
import tobiiresearch as tr import time found_eyetrackers = tr.find_all_eyetrackers()
I get the error :
found_eyetrackers = tr.find_all_eyetrackers()
AttributeError: ‘module’ object has no attribute ‘find_all_eyetrackers’
It seems that the import command do not cause any error but using the function does…
Is anyone thinking of something that might help me?