Howdy, Stranger!

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

Supported by

Trouble running experiment under linux

edited February 24 in OpenSesame

Hi, I have tried installing opensesame for my wife under windows10 and linux mint
with play on linux opensesame screen goes grey and freezes
under windows 10 it works on the desktop but not on the laptop??... (same install)

So I'm back to linux mint 17.3 (my favourite) I did the following

sudo dpkg --configure -a
sudo apt-get install python-pip
sudo pip install python-opensesame

missing pyqt5...

so through synaptic package manager I installed all the packages with pyqt5 search result
Still no open sesame..

Therefore I tried the repository add

sudo add-apt-repository ppa:smathot/cogsci
sudo apt-get update
sudo apt-get install opensesame

and hey presto it opens fine.... only when I try to open the experiment created on the wondows10 desktop machine
I get the following..

Arrêté

L'éxpérience ne s'est pas terminée normalement pour la raison suivante :

  • Unexpected error

Details

  • item-stack: ``
  • exception type: ImportError
  • exception message: No module named expyriment
  • time: Sat Feb 23 09:25:20 2019

Traceback (also in debug window)

~~~ .traceback
File "/usr/local/lib/python2.7/dist-packages/libqtopensesame/misc/process.py", line 157, in run
exp.run()
File "/usr/local/lib/python2.7/dist-packages/libopensesame/experiment.py", line 443, in run
self.init_display()
File "/usr/local/lib/python2.7/dist-packages/libopensesame/experiment.py", line 717, in init_display
canvas.init_display(self)
File "/usr/local/lib/python2.7/dist-packages/openexp/canvas.py", line 67, in init_display
cls = backend.get_backend_class(experiment, u'canvas')
File "/usr/local/lib/python2.7/dist-packages/openexp/backend.py", line 155, in get_backend_class
return getattr(get_backend_mod(experiment, type), name)
File "/usr/local/lib/python2.7/dist-packages/openexp/backend.py", line 133, in get_backend_mod
return import('openexp.
%s.%s' % (_type, name), fromlist=['dummy'])
File "/usr/local/lib/python2.7/dist-packages/openexp/_canvas/xpyriment.py", line 26, in
from expyriment import io, control, stimuli
ImportError: No module named expyriment

could any one please help me?
my wife has exams in 2 weeks ands needs opensesame running on her laptop
I'm no computer programmer, and can't find the solution
I hope all of this is comprehendable,
Thanks a million
Chris

Comments

  • Hi Chris,

    It seems that OpenSesame is installed correctly, but that you still have to install expyriment. The easiest way to do this is through:

    pip install expyriment
    

    Incidentally, you only need expyriment if you want to use the xypriment backend. So switching to the legacy backend should also allow you to run experiments!

    Cheers,
    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

  • Thanks Sebatiaan, I'll try it out

Sign In or Register to comment.