Problem installing psychopy on my Linux distro

Hello everyone, I am trying to install psychopy on Linux. I am on Void Linux.
I followed the “pip install” guide, tho I get an error when building the file.


UPDATE: I have downgraded python to 3.9.10, but I still get some sort of error. This one here:

Update: I know have this error here. I don’t know how to solve it.

ERROR: Exception:
Traceback (most recent call last):
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/cli/", line 188, in main
    status =, args)
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/commands/", line 345, in run
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/", line 196, in resolve
    self._resolve_one(requirement_set, req)
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/", line 359, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/", line 305, in _get_abstract_dist_for
    abstract_dist = self.preparer.prepare_linked_requirement(
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/operations/", line 214, in prepare_linked_requirement
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/distributions/", line 70, in prepare_distribution_metadata
    reqs = self.req.pep517_backend.get_requires_for_build_wheel()
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_vendor/pep517/", line 70, in get_requires_for_build_wheel
    return self._call_hook('get_requires_for_build_wheel', {
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_vendor/pep517/", line 162, in _call_hook
    raise BackendUnavailable
WARNING: You are using pip version 19.2.3, however version 24.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


I think the devs recommend using Python 3.8, and you probably want to upgrade pip.

Cheers, Jon

1 Like

Hi! Yes, I forgot to mention that before the last error I changed the python version to 3.8 because I didn’t read carefully the first time. I didn’t want to update pip because I was expecting to break something, but that wasn’t the case, indeed for once it finally seemed to manage to properly download psychopy. However, I still have problems launching it. Indeed I managed to find the path but when I try to launch it I get this error:

[angie@void ~]$ python /home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/
Traceback (most recent call last):
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/", line 44, in <module>
    from psychopy.preferences import prefs
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/", line 61, in <module>
    from import useVersion, ensureMinimal
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/tools/", line 19, in <module>
    from psychopy import logging, tools, web, constants, preferences, __version__
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/", line 43, in <module>
    from psychopy import clock
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/", line 21, in <module>
    import logging
  File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/", line 111, in <module>
    defaultClock = clock.monotonicClock
AttributeError: partially initialized module 'psychopy.clock' has no attribute 'monotonicClock' (most likely due to a circular import)