Howdy, Stranger!

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

Supported by

Issue using anaconda to run an older version of python for Tobii experiment

Hi all,

I had an experiment in which I wanted to record eye movements with a Tobii eye tracker. To do this, I followed this page ( to download OpenSesame through Anaconda using an older version of Python.

This worked well on my older laptop (I did this about 6 or 7 months ago). However, I am trying to do this on a new laptop as that other laptop is very slow. I have installed Anaconda and I believe I have followed the same steps but now when I enter the following into Anaconda prompt (running as administrator):

conda activate opensesame-py3

I get the response: 'opensesame is not recognised as an internal or external command, operable program or batch file'. It seems to have installed the opensesame environment correctly and even allowed me to use pip to install the tobii package. But I can't get past this issue and it won't run opensesame.

I don't know if Anaconda has recently updated or if I have done something differently, but does anyone have any pointers? Apologies if this is a simple question/issue I don't have much experience using Anaconda!




  • edit - both PCs are Windows 10

  • Hi there,

    A little update. I managed to get OpenSesame to run. For anyone else who may be doing the same as me, you need to also follow these instructions ( in order to download appropriate packages. Using anaconda I also installed and ran the following code:

    conda config --add channels conda-forge --add channels cogsci
    conda install opensesame opensesame-extension-osweb opensesame-extension-updater opensesame-plugin-psychopy rapunzel pygaze qtconsole pyqtwebengine wxpython
    pip install soundfile pygame
    pip install psychopy psychopy-sounddevice
    # I also installed:
    pip install opensesame-plugin-media-player-mpy

    Now when I run

    conda activate opensesame-py3

    in the anaconda prompt it runs Opensesame as expected which is great. However, I now have another issue when I try to run my experiment:

    Traceback (most recent call last):

     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\opensesame_extensions\core\preload_items\", line 67, in _on_awake


     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\opensesame_extensions\core\preload_items\", line 82, in _preload_one_item


     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\libqtopensesame\items\", line 73, in edit_widget


     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\libqtopensesame\widgets\", line 420, in draw


     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\libqtopensesame\sketchpad_elements\", line 70, in draw

      self.graphics_item = super(base_element, self).draw()

     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\libopensesame\sketchpad_elements\", line 53, in draw

      return self.canvas.text(properties[u'text'],

     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\libqtopensesame\misc\", line 623, in text

      im = t._to_pil()

     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\openexp\_canvas\_richtext\", line 243, in _to_pil

      im = self._qimage_to_pil(self._to_qimage())

     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\openexp\_canvas\_richtext\", line 223, in _qimage_to_pil

      return Image.fromqimage(self._to_qimage())

     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\PIL\", line 3164, in fromqimage

      return ImageQt.fromqimage(im)

     File "C:\ProgramData\anaconda3\envs\opensesame-py3\lib\site-packages\PIL\", line 81, in fromqimage, "png")

    TypeError: arguments did not match any overloaded call:

     save(self, fileName: str, format: typing.Optional[str] = None, quality: int = -1): argument 1 has unexpected type 'QBuffer'

     save(self, device: typing.Optional[QIODevice], format: typing.Optional[str] = None, quality: int = -1): argument 1 has unexpected type 'QBuffer'

    I have noticed someone else here looks to have a similar problem ( Would anyone be able to figure out why this is happening?



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 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