Skip to content

Missing module metapensiero in Linux install instructions? #830

@JoKeyser

Description

@JoKeyser

Hi, these are my first steps with OpenSesame, thank you for this open science software.

There was a small bump in my initial experience: Installing on Ubuntu 24.04.3, I've followed the instructions at https://osdoc.cogsci.nl/4.1/download/#linux-ubuntu. That is, I ran the following commands:

conda create -n opensesame-41 python=3.13
conda activate opensesame-41
pip install --pre opensesame-core opensesame-extension-sigmund opensesame-extension-osweb opensesame-extension-updater opensesame-plugin-psychopy opensesame-plugin-media_player_mpy pygame

I then opened up a new OSWeb experiment and tried to run it, which failed with an error message about missing module metapensiero.

Traceback (most recent call last):
  File "/home/jo/apps/miniforge3/envs/opensesame-41/lib/python3.13/site-packages/libqtopensesame/extensions/_extension_manager.py", line 158, in fire
    return_value = ext.fire(event, **kwdict)
  File "/home/jo/apps/miniforge3/envs/opensesame-41/lib/python3.13/site-packages/libqtopensesame/misc/base_subcomponent.py", line 56, in fire
    return getattr(self, u'event_%s' % event)(**kwdict)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/home/jo/apps/miniforge3/envs/opensesame-41/lib/python3.13/site-packages/opensesame_extensions/osweb/oswebext/oswebext.py", line 304, in event_osweb_run
    from osweb import convert
  File "/home/jo/apps/miniforge3/envs/opensesame-41/lib/python3.13/site-packages/osweb/convert.py", line 35, in <module>
    from .oswebwriter import OSWebWriter
  File "/home/jo/apps/miniforge3/envs/opensesame-41/lib/python3.13/site-packages/osweb/oswebwriter.py", line 22, in <module>
    from metapensiero.pj.__main__ import transform_string as py2js
ModuleNotFoundError: No module named 'metapensiero'

My first guess how to add what's missing was to pip install javascripthon, which seems to have worked.

If that's the correct solution, maybe this should be mentioned in the install instructions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions