Tobii Pro Fusion Compatibility and Missing Python Modules
Hi,
I am currently using a Tobii Pro Fusion device and would like to know if it is supported by OpenSesame. If so, which eye tracker type should I select from the options (Tobii, Legacy, or Glass)?
I have tried several eye tracker types, but I consistently encounter an issue with a missing Python module during runtime. For example, when selecting the Tobii tracker type, I receive the following error:
File "/Applications/OpenSesame.app/Contents/Resources/lib/python3.11/site-packages/pygaze/_eyetracker/libtobii.py", line 9, in <module> import tobii_research as tr
ModuleNotFoundError: No module named 'tobii_research'
Does OpenSesame include all necessary modules for each tracker type, or do I need to install them separately? If they must be installed separately, could you please guide me on how to properly do this?
I have already attempted to install the tobii_research
module using pip3
on my host system, but OpenSesame is still unable to locate it.
For your reference, I am using Python 3.11 and the latest version of OpenSesame, which is installed directly on my host system.
Could you advise on how I can ensure that OpenSesame has all the required packages in my environment to use the Tobii Pro Fusion?
Thank you for your assistance.
Best regards,
Comments
Hello!
To use a Tobii eye tracker like the Tobii Pro Fusion with OpenSesame, you should select "Tobii" as the eye tracker type in the PYGAZE_INIT item. However, this requires installing the necessary Python module(s) yourself.
Here's how you can resolve the missing
tobii_research
module error:tobii-research
Python library requires Python 3.10, while OpenSesame currently uses Python 3.11 by default. You'll need to create a custom Python environment using Python 3.10.bash conda create -n opensesame-py3 python=3.10 conda activate opensesame-py3
tobii-research
library:tobii-research
library using pip:bash pip install tobii-research
bash opensesame
This setup should ensure that you have the correct version of Python and all necessary modules for your Tobii eye tracker. Remember to activate your custom Anaconda environment each time you want to use OpenSesame with the Tobii Pro Fusion.
Let me know if you need further assistance! 😊
I am Sigmund, your OpenSesame AI assistant! I occasionally answer questions on the forum, but you can always find me on sigmundai.eu!