Home › Forums › Software Development › Tobii Research VIVE Eye Tracking – Python Error
- This topic has 5 replies, 2 voices, and was last updated 2 years, 10 months ago by Fabian.
- AuthorPosts
- 25/10/2021 at 14:57 #21228FabianParticipant
Hey,
I am currently working on a project where it is necessary to record eye tracking via the VIVE Pro Eye II. For this I would very much like to use the Python framework from Tobii. (https://www.tobiipro.com/product-listing/tobii-pro-sdk/#Download)
I downloaded it, selected the appropriate version (32 bit in my case) and dragged the folder with the name “robiiresearch” including the file “tobii_research.py” into the directory of my own Python program.
But now an error occurs:
File ".\viveEyeTrackingTest.py", line 1, in <module> import tobii_research as tr File "C:\Users\s353743\Documents\Master\MasterArbeitGroup\code\Testarea\EyeTrackingVIVE\tobii_research.py", line 2, in <module> from tobiiresearch.interop import interop File "C:\Users\s353743\Documents\Master\MasterArbeitGroup\code\Testarea\EyeTrackingVIVE\tobiiresearch\interop\interop.py", line 11, in <module> from tobiiresearch.interop.python3 import tobii_research_interop ImportError: cannot import name 'tobii_research_interop' from 'tobiiresearch.interop.python3' (C:\Users\s353743\Documents\Master\MasterArbeitGroup\code\Testarea\EyeTrackingVIVE\tobiiresearch\interop\python3\__init__.py)
The program seems to want to import something from the file “__init__.py” from the subfolder “python3”. However, both the “python3” folder and the “__init__.py” file inside it are empty.
Now to my question. Are there any files missing here? Did I forget to add files from another source, or is the error in another place?
My code currently only consists of importing the file “tobii_research”. So I can’t show more code yet.
I would be happy if someone could help me.
26/10/2021 at 11:35 #21237Grant [Tobii]KeymasterHi @fabians and thanks for your query. The Tobii Pro SDK is part of the Tobii Pro business department.
This forum is intended for support with the Tobii Tech Consumer level eye trackers (ET5, 4C, etc) and their associated SDK’s.
Please get in touch with Tobii Pro Support team directly @ http://www.tobiipro.com/contact/contact-support/ for an
answer to your query.That being said, I do believe there is a dedicated SDK especially for Vive Pro Eye which only has C++/C# bindings via Unity.
Apologies for the inconvenience and thanks for your understanding. Best Wishes.
26/10/2021 at 15:56 #21240FabianParticipantHi @Grant,
i‘d really like to post my question at Tobii Pro, but as i dont have a Tobii device, but a VIVE HMD i am not able to enter a product ID and thus not able to create an account. Is there another way to get in touch with the tobii pro support team?
Best Regards
Fabian
27/10/2021 at 13:44 #21244Grant [Tobii]KeymasterHi @fabians, okay sorry about that! So, I can confirm that the Python framework is only for Tobii Desktop Trackers.
Should you wish to develop applications with the VIVE Eye Pro, you will need to use the Unity Framework which is based on C#/C++
Checkout the getting started guide @ https://vr.tobii.com/sdk/develop/unity/getting-started/vive-pro-eye/
and let us know how you get on. Best Wishes.27/10/2021 at 14:55 #21245FabianParticipantHi Grant,
i’ve figured it out so far. The problem was according the 32 bit version of the Python API. Some files seem to be missing, as they can be found in the 64 bit version. Now i am using the 64 bit version of python 3.6 and running in further issues.
I get the following error message.Traceback (most recent call last): File "viveEyeTrackingTest.py", line 1, in <module> import tobii_research as tr File "C:\Users\s353743\Documents\Master\MasterArbeitGroup\code\Testarea\EyeTrackingVIVE\tobii_research.py", line 2, in <module> from tobiiresearch.interop import interop File "C:\Users\s353743\Documents\Master\MasterArbeitGroup\code\Testarea\EyeTrackingVIVE\tobiiresearch\interop\interop.py", line 11, in <module> from tobiiresearch.interop.python3 import tobii_research_interop ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
I’m guessing the problem is my Windows 10 system with an intel processor, because i’ve seen that you only published your pip wheels for AMD.
Is that possible?Best regards
Fabian Sieper
28/10/2021 at 15:51 #21248Grant [Tobii]KeymasterHI @fabians, as I mentioned in my last post, the Tobii Pro SDK python bindings are only for desktop eye trackers and does NOT support the Vive Pro Eye.
Please use the link from my last post to being developing using the Unity engine.
- AuthorPosts
- You must be logged in to reply to this topic.