Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Tobii pro SDK and Opensesame 4.0

Hi!

I am trying to create an experiment in Opensesame 4.0 using a Tobii pro spectrum eye tracker. I am encountering the following problem: I have installed the Tobii pro SDK and tobii research. Yet, Tobii pro SDK uses Python 3.10 and Opensesame uses Python 3.11.

So, when I try to install tobii research into the opensesame directory by using


i get the error message

I think it is due to the mismatch of python versions. Any thoughts on how to resolve this?


Thank you!

Comments

  • edited October 2024

    You're correct in identifying the version mismatch between Python 3.10 and Python 3.11 as the issue. To resolve this, you can create a custom Python environment using Anaconda with Python 3.10, which allows you to use the tobii-research library with OpenSesame. Here's how you can do it:

    1. Create Python 3.10 Environment:

    Start by setting up a new Python 3.10 environment with Anaconda

    conda create -n opensesame-py3 python=3.10

    conda activate opensesame-py3

    1. Install OpenSesame:

    Follow the OpenSesame installation instructions for your system, ensuring you install it within this new environment.

    1. Install Tobii Support:

    With the environment activated, install the tobii-research library:

    pip install tobii-research

    1. Launch OpenSesame:

    Run OpenSesame from within the environment:

    opensesame

    This setup will ensure that your project uses Python 3.10, making it compatible with the tobii-research library. 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!

Sign In or Register to comment.