Package Details: psychopy 2024.2.4-1

Git Clone URL: https://aur.archlinux.org/psychopy.git (read-only, click to copy)
Package Base: psychopy
Description: An experiment builder for neuroscience, psychology and psychophysics
Upstream URL: http://www.psychopy.org
Keywords: experiment experiment-control experimental-design linguistics neuroscience psycholinguistics psychology psychophysics psychopy python science
Licenses: GPL3
Submitter: daniel_shub
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 6
Popularity: 0.080189
First Submitted: 2015-08-20 20:24 (UTC)
Last Updated: 2024-11-04 20:23 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

igord commented on 2020-10-17 10:57 (UTC)

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 
opencv-python

bassam commented on 2020-04-30 16:49 (UTC)

@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 (UTC)

@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.

bassam commented on 2020-04-30 13:53 (UTC)

@daniel_shub I do get an audio warning but the same warning is there in the windows log.

1.3025  WARNING     We strongly recommend you activate the PTB sound engine in PsychoPy prefs as the preferred audio engine. Its timing is vastly superior. Your prefs are currently set to use ['sounddevice', 'PTB', 'pyo', 'pygame'] (in that order).

There seem to be other errors present however. The full log: https://pastebin.com/LCvUakwC

Unfortunately I'm a novice linux user so I'll need to look into how to create an Arch chroot first.

daniel_shub commented on 2020-04-30 13:19 (UTC)

@bassam I get those messages also, but psychopy works fine for me. Is there anything relevant in the .psychopy3/last_app_load.log? I wonder if it is related to the port audio changes or maybe the X11 setup. I do not have a way to test the package on Manjaro. Can you create a clean Arch chroot and try it in that container?

bassam commented on 2020-04-30 10:47 (UTC) (edited on 2020-04-30 10:48 (UTC) by bassam)

My psychopy stopped starting a couple of days ago, so I uninstalled/reinstalled it from the package manager in Manjaro. When I type psychopy in terminal the welcome screen almost becomes fully visible, then it disappears and I'm back at the terminal. This is what shows up in the terminal:

06:30:54 AM: Debug: Adding duplicate image handler for 'Windows bitmap file'
06:30:54 AM: Debug: Adding duplicate image handler for 'Windows bitmap file'
06:30:54 AM: Debug: Adding duplicate image handler for 'Windows bitmap file'

Also want to add that I never got it to actually run an experiment file in linux but things are working fine in Windows 10.

Anyway to fix this?

daniel_shub commented on 2020-04-23 02:21 (UTC)

@TheGoliath It now builds in a clean chroot. I deleted the "packaging" directory. I am not sure that is the right thing to do, but the resulting package passes most of the package tests with pytest==4.0.

xantares commented on 2020-04-05 14:00 (UTC) (edited on 2020-04-05 14:03 (UTC) by xantares)

please add the missing python-questplus, python-opencv-python, python-glfw dependencies

daniel_shub commented on 2020-02-09 04:48 (UTC)

The package does not run for me. My guess is questplus needs to be packaged and added as a dependency.

$ psychopy Traceback (most recent call last): File "/usr/bin/psychopy", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3252, in <module> def _initialize_master_working_set(): File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3235, in _call_aside f(args, *kwargs) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3264, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 583, in _build_master ws.require(requires) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'questplus' distribution was not found and is required by PsychoPy