Package Details: psychopy 2021.2.3-1

Git Clone URL: (read-only, click to copy)
Package Base: psychopy
Description: An experiment builder for neuroscience, psychology and psychophysics
Upstream URL:
Keywords: experiment experiment-control experimental-design linguistics neuroscience psycholinguistics psychology psychophysics psychopy python science
Licenses: GPL3
Submitter: daniel_shub
Maintainer: daniel_shub
Last Packager: daniel_shub
Votes: 5
Popularity: 0.000224
First Submitted: 2015-08-20 20:24
Last Updated: 2021-10-26 21:39

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

daniel_shub commented on 2021-10-26 20:33

I just upgraded the package. A couple of notes:

1) The package python-gitpython is bugged and requires the package python-typing_extensions ( Just install that package.

2) The package python-moviepy is bugged (

sudo sed -i 's/^decorator.*/decorator/' "/usr/lib/python3.9/site-packages/moviepy-1.0.3-py3.9.egg-info/requires.txt"

3) The package python-gitdb is bugged but should be fixed soon ( In the meantime

sudo sed -i 's/^smmap.*/smmap/' "/usr/lib/python3.9/site-packages/gitdb-4.0.7-py3.9.egg-info/requires.txt"

31415926 commented on 2021-10-26 00:10

Initially, /usr/bin/py.test /usr/lib/python3.9/site-packages/psychopy/tests/ gave this: After installing python-xmlschema it goes as far as this:

daniel_shub commented on 2021-10-23 18:39

Passing the unit tests means that if the PsychoPy developers did their job, then there are not any missing dependencies and/or version conflicts. In my experience with the package, failed unit tests likely means a missing dependency that needs to be packaged.

@31415926 what happens when you try and start the app or when you install python-pytest and run

/usr/bin/py.test /usr/lib/python3.9/site-packages/psychopy/tests/

31415926 commented on 2021-10-22 23:16

Do unit tests need to be done manually? Are passed unit tests the responsibility of AUR packaging? Updating pkgver and sha512sums is enough to make psychopy-2021.2.3 build successfully with makepkg on my computer.

daniel_shub commented on 2021-05-07 16:42

I am having trouble getting version 2021.1.4 to pass the unit tests. There is an issue with moviepy and the decorator version that I am ignoring. I fail a bunch of tests that I did not used to. There are errors on other tests and when I run the tests, I get a seg fault. If anyone has work arounds that lets the package pass the tests, I am happy to take the help.

igord commented on 2020-10-17 19:17

@daniel_shub Thanks. Yup, removing from requires files does the job. BTW, I looked at the PsychoPy code. opencv is used as cv2 import for MovieStim2 only. Since cv2 is provided by opencv package it should work fine (haven't tested as I don't have any experiment that use movie2 simuli). So, I guess just patching setup.cfg to remove opencv-python during build should do the trick.

daniel_shub commented on 2020-10-17 17:51

@igord thanks. Not sure how I missed that. I am not sure if the problem is in this package or the opencv package. An easy work around is to simply remove the opencv-python line from the requires.txt file. I have asked what the best way forward is (

NB, you also need to install the python-certifi package which appears to be a missing dependency of matplotlib (

igord commented on 2020-10-17 10:57

Hi. I have trouble running this package. It builds fine, but it seems that it requires python-opencv in order to run. I get this when trying to run:

    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'opencv-python' distribution was not found and is required by PsychoPy

And indeed PsychoPy do require opencv-python:

~ grep opencv /usr/lib/python3.8/site-packages/PsychoPy-2020.1.3-py3.8.egg-info/requires.txt 

bassam commented on 2020-04-30 16:49

@daniel_shub I had tried to install psychopy using pip a long while ago and was unsuccessful so that might be why psychopy was in that directory. I uninstalled it using pip and the package manager. Rebooted, made sure there were no traces left, and installed it via the package manager and it's starting up fine. I'm getting a different error now when I try to run an experiment but I'll post this problem on the discourse forums. Thanks for you help.

daniel_shub commented on 2020-04-30 14:16

@bassam It looks like psychopy is running from and calling a version of python installed in /home/bassam/.local/. Unless you did something tricky, that is not the packaged version. It looks like there is some issue with gitlab and not being authorized. I do not know if this is because you installed it in .local, there is something broken in your install, or if there is something about your configuration. Regardless, I do not think it is this package that is causing the problem.