Skip to content

Conversation

@jnareb
Copy link
Contributor

@jnareb jnareb commented Sep 16, 2025

Because of how AvailibilityChecker.checkPythonEnvironment() was set up, the tobii_research module had to be installed in the selected Python environment even when one wanted to use Mouse emulation.

Installing tobii_research is more difficult than installing pyautogui because tobii_research requires specific Python version, namely Python 3.10 (or Python 3.8, but with more work). Switching to non-default version of Python is more work.

I have tested that mouse emulation work with these changes, but I was not able to check if tracking with Tobii still works.


Now tobii_research module does not need to be installed to be able to use mouse emulation.

This change removes 'import tobii_research as tr' from checkPythonEnvironment() method, and adjusts checkEyeTracker() and getEyeTrackerName() to work correctly even if tobii_research is not installed.

The problem with requiring tobii_research is that it requires specific Python version to be able to be installed: 3.8 or 3.10:

Now tobii_research [1][2] module does not need to be installed
to be able to use mouse emulation.

[1]: https://developer.tobiipro.com/python.html
[2]: https://pypi.org/project/tobii-research/

This change removes 'import tobii_research as tr' from
checkPythonEnvironment() method, and adjusts checkEyeTracker() and
getEyeTrackerName() to work correctly even if tobii_research is not
installed.

Not tested yet.

The problem with requiring tobii_research is that it requires specific
Python version to be able to be installed: 3.8 or 3.10 [3][4][5]

[3]: https://www.tobii.com/products/software/applications-and-developer-kits/tobii-pro-sdk
[4]: https://developer.tobiipro.com/tobiiprosdk/platform-and-language.html
[5]: https://codegrits.github.io/CodeGRITS/usage-guide/#python-environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant