Howdy, Stranger!

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

Supported by

impossible to install opensesame with linux mint ....Please help me

edited February 18 in OpenSesame

impossible to install opensesame with linux mint ....Please help me ...

It is what I read ..

Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1436, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 672, in install
    self.move_wheel_files(self.source_dir, root=root)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 902, in move_wheel_files
    pycompile=self.pycompile,
  File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 206, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 193, in clobber
    os.makedirs(destsubdir)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/datamatrix'

Storing debug log for failure in /home/corinne/.pip/pip.log

Comments

  • Hi Corinne,

    It looks like you're trying to install datamatrix globally, but without root access. (I don't know exactly why that happens, because a local installation should be the default.) But in any case, you should be able to install datamatrix (and other dependencies) without root access like so:

    pip install --user python-datamatrix
    

    Cheers!
    Sebastiaan

  • thak you very much ! I will try again ...My husband Christopher had installed Windows for my experience :'( but I prefer Linux ;)
    Have a good sleep !
    Corinne

  • edited February 26

    sorry...again ...my husband installed windows 10 and I read this :Traceback (also in debug window)

      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libqtopensesame\misc\process.py", line 157, in run
        exp.run()
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\experiment.py", line 456, in run
        self.items.execute(self.var.start)
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 102, in execute
        self.prepare(name)
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 142, in prepare
        self[name].prepare()
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\sequence.py", line 124, in prepare
        self.experiment.items.prepare(_item)
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\item_store.py", line 142, in prepare
        self[name].prepare()
      File "C:\Program Files (x86)\OpenSesame\share\opensesame_plugins\form_base\form_base.py", line 178, in prepare
        rowspan=rowspan)
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\widgets\_form.py", line 413, in set_widget
        widget.set_rect(self.get_rect(index))
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\widgets\_widget.py", line 144, in set_rect
        self._init_canvas_elements()
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\libopensesame\widgets\_label.py", line 101, in _init_canvas_elements
        x=x, y=y, max_width=w, html=self.html).construct(self.canvas)
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\openexp\canvas_elements.py", line 37, in construct
        return cls(canvas, *self._args, **self._kwargs)
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\openexp\_canvas\_richtext\richtext.py", line 66, in __init__
        Element.__init__(self, canvas, **properties)
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\openexp\_canvas\_element\element.py", line 71, in __init__
        self.prepare()
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\openexp\_canvas\_richtext\xpyriment.py", line 39, in prepare
        self._stim.preload()
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\expyriment\stimuli\_visual.py", line 919, in preload
        self.compress()
      File "C:\Program Files (x86)\OpenSesame\lib\site-packages\expyriment\stimuli\_visual.py", line 839, in compress
        pygame.image.save(self._get_surface(), self._compression_filename)
    pygame.error: Couldn't open C:\Users\roman\AppData\Local\Temp\expyriment_rh_fputq\tmp7se_wzde.tga
    

    can you explain me please what I must do ??? It's my fault in my experience or I need other package ?
    thank ...!
    Corinne

  • @fladd Does this error look familiar to you?

  • no ...sorry .
    I would like put a wigjet but I have this message and I can't understand ..

    Failed to create widget "image": init() got an unexpected keyword argument 'y'

    why please ? thank to everybody

  • It seems that the user does not have the rights to write in C:\Users\roman\AppData\Local\Temp\ for some reason.

  • thank fladd ...

Sign In or Register to comment.