#953053 psychopy: missing python3 dependencies

#953053#5
Date:
2020-03-03 20:37:03 UTC
From:
To:
Dear Maintainer,

After installing psychopy 2020.1.1, when I use pip3 to install some packages
(that do not have psychopy as dependency), I get the following error:

ERROR: psychopy 2020.1.1 requires arabic_reshaper, which is not installed.
ERROR: psychopy 2020.1.1 requires astunparse, which is not installed.
ERROR: psychopy 2020.1.1 requires esprima, which is not installed.
ERROR: psychopy 2020.1.1 requires glfw, which is not installed.
ERROR: psychopy 2020.1.1 requires javascripthon, which is not installed.
ERROR: psychopy 2020.1.1 requires opencv-python, which is not installed.
ERROR: psychopy 2020.1.1 requires pyosf, which is not installed.
ERROR: psychopy 2020.1.1 requires python-bidi, which is not installed.

I checked and these are dependencies of psychopy are not present in the debian
repos. It seems that during packaging these dependencies were omitted. As far
as i can tell, these dependencies are hard dependencies.

Best,
Bob

#953053#16
Date:
2023-12-20 19:22:21 UTC
From:
To:
Hi,

I've added the now packaged python3-bidi and python3-pyglfw to
Recommends of the just uploaded version 2023.2.4+dfsg-1.  Some of the
dependencies you mentioned seem to be not used in psychopy any more.
It would be nice if you could update the list of dependencies which
you are missing.

Kind regards
   Andreas.

#953053#21
Date:
2024-09-12 20:29:56 UTC
From:
To:
Hi,

I was having a look at eventually bumping psychopy to v2024.  It
seems that dh-python3 helpfully reports dependencies declared by
upstream but missing from Debian:

	I: dh_python3 pydist:302: Cannot find package that provides imageio_ffmpeg.
	   Please add package that provides it to Build-Depends
	   or add "imageio_ffmpeg python3-imageio-ffmpeg" line to debian/py3dist-overrides
	   or add proper dependency to Depends by hand and ignore this info.
	I: dh_python3 pydist:302: Cannot find package that provides psychtoolbox. ...
	I: dh_python3 pydist:302: Cannot find package that provides javascripthon. ...
	I: dh_python3 pydist:302: Cannot find package that provides pypi_search. ...
	I: dh_python3 pydist:302: Cannot find package that provides esprima. ...
	I: dh_python3 pydist:302: Cannot find package that provides ffpyplayer. ...
	I: dh_python3 pydist:302: Cannot find package that provides opencv_python. ...

imageio_ffmpeg upstream looks located here:
https://github.com/imageio/imageio-ffmpeg

psychtoolbox from pypi.org leads to confusing source code:
https://pypi.org/project/psychtoolbox/

javascripthon looks non-trivial:
https://github.com/metapensiero/metapensiero.pj

pypi_search upstream archived their repository:
https://github.com/asadmoosvi/pypi-search

esprima is already recorded work needed and prospective package:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987923

ffpyplayer seems located here:
https://github.com/matham/ffpyplayer

opencv_python stems from here, but is also confusing:
https://github.com/opencv/opencv-python

Something is bugging me: is the package usable at all with these
missing components?  When trying to put back the test suite on
tracks, each item ends up in error, mainly because of missing
the esprima module (and the rest chokes on pyglet.gl being used
as regular GL while missing a number of its attributes).

I'm sorry it may be a bit overwhelming.  I hope targets painting
will help with putting back the package into good shape in the
end though.

Have a nice day,  :)

#953053#26
Date:
2024-09-14 06:48:07 UTC
From:
To:
Adding Yaroslav to the discussion since he is the expert.
Kind regards, Andreas.

Am Thu, Sep 12, 2024 at 10:29:56PM +0200 schrieb Étienne Mollier:

#953053#31
Date:
2025-02-12 18:28:05 UTC
From:
To:
Sorry, missed this one and now filed a few new related bug reports.

Frankly, since I have not actively used it myself for awhile, I would
not be able to answer if all of those required or not.

Some are likely already there -- e.g. python3-opencv for the

and it might be worth going through

https://github.com/wieluk/psychopy_linux_installer

to see what installations/tricks are done there.  I know that we
did manage to install psychopy (in a clean container) using that script.

Also I spotted that there is ongoing effort to separate out the "run
time" core into a separate package
https://github.com/psychopy/psychopy-lib (so there is no wx etc depends)
but it seems there is no single release yet.

#953053#36
Date:
2025-03-18 10:39:35 UTC
From:
To:
control: severity -1 serious

Bumping severity of this bug to serious to keep psychopy from migrating.

The other 2 RC bugs were only fixed to allow python3-astunparse removal
but did not get psychopy in a much better shape.

#953053#43
Date:
2026-03-03 21:47:00 UTC
From:
To:
Control: severity -1 important

I reduce the severity of the bug about psychopy missing some
dependencies.  There are three other release critical bugs
currently open, which I hope to be able to tackle, now that
python3-esprima is available in unstable and tracking #1128693
indicates having python3-psychtoolbox should not be too long
anymore.  There are still a few modules in the "to do" list for
full support of psychopy 2026.1.0: meshpy, ffpyplayer and maybe
opencv-python if not covered by python3-opencv, the rest should
be on good tracks.  As far as I could test the program, those
remaining modules do not look like blockers to make use of it,
although I'm not a professional of the field and may have missed
obvious use cases.

Have a nice day,  :)