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 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/base_command.py", line 188, in main
status = self.run(options, args)
File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 345, in run
resolver.resolve(requirement_set)
File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/legacy_resolve.py", 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/legacy_resolve.py", 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/legacy_resolve.py", 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/prepare.py", line 214, in prepare_linked_requirement
abstract_dist.prepare_distribution_metadata(
File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pip/_internal/distributions/source.py", 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/wrappers.py", 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/wrappers.py", line 162, in _call_hook
raise BackendUnavailable
pip._vendor.pep517.wrappers.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.
Hi,
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/__init__.py
Traceback (most recent call last):
File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/__init__.py", line 44, in <module>
from psychopy.preferences import prefs
File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/__init__.py", line 61, in <module>
from psychopy.tools.versionchooser import useVersion, ensureMinimal
File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/tools/versionchooser.py", 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/logging.py", line 43, in <module>
from psychopy import clock
File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/clock.py", line 21, in <module>
import logging
File "/home/angie/.pyenv/versions/3.8.0/lib/python3.8/site-packages/psychopy/logging.py", line 111, in <module>
defaultClock = clock.monotonicClock
AttributeError: partially initialized module 'psychopy.clock' has no attribute 'monotonicClock' (most likely due to a circular import)