Howdy, Stranger!

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

Supported by

DLL issue with Tobii after switching to Python 3

Hi,

Since Python 2 has finally reached its EOL (may it rest in peace), I've recently decided to switch to Python 3. I updated my scripts and installed the latest version of Opensesame. So far, so good. The first issue arose when trying to install the tobii-research package: first off, pip seems to behave rather strangely and the package manager instantly dies whenever I try to install the package that way. Secondly, the package is apparently only compatible with Python 3.5 and 3.6. I took a shortcut by downloading the Tobii SDK and simply copying the tobiiresearch folder and tobii_research.py scripts to the appropriate places (which isn't a recommended strategy, I know). Despite everything being where it's supposed to be, I now constantly get the same error when trying to start my experiment, namely a DLL load failure. The module that is failed to be found is tobii_research_interop, located in the python3 folder.

So the questions now are:

Is the loading failure caused by my shortcut (which has worked like a charm prior to this) or is it because tobii-research is officially only compatible with Python versions below 3.7?

What's the best way to deal with this? Downloading an older version of Opensesame (i.e. one that runs on Python 3.6 rather than 3.7)?

Thanks in advance!

Comments

  • Hi @ChrIm ,

    It seems that the tobii-research package is a binary package that is built for specific architectures and versions of Python. And, indeed, it seems that they have only built packages for Python 3.6. The best way to get up and running is probably to install OpenSesame using Anaconda and then specify Python 3.6 for your environment. That's quite easy to do, actually, and it avoids you from having to downgrade OpenSesame to some older version!

    -- Sebastiaan

    Buy Me A Coffee

  • Hi Sebastiaan,

    Thanks a lot! I will try to do it that way :)

  • Hi @sebastiaan,

    The installation has worked, but there seems to be a problem with the plug-ins because any time I try to do anything within OpenSesame, the same simple error shows up:

    'str' object has no attribute 'isascii'

    A quick Google research has revealed that the str.isascii() method requires Python 3.7, which is weird because I definitely specified Python 3.6 when installing OS via Anaconda :/

  • @ChrIm Coincidentally I literally fixed this bug right before I read this post. If you upgrade python-opensesame to 3.3.10a13 or later, then this should work again.

    Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games