Back to the main site

Lutris failing to start on Arch

Hi, i tried to install lutris, both from pacman -S lutris and yay -S lutris and lutris-git.
It just doesn’t want to start giving me as an error:
Traceback (most recent call last):
File “/usr/bin/lutris”, line 52, in
from lutris.gui.application import Application # pylint: disable=no-name-in-module
ModuleNotFoundError: No module named ‘lutris’

lutris-git even gives me the error:
2022-05-12 15:51:32,855: Package ‘distro’ unavailable. Unable to read Linux distribution
Traceback (most recent call last):
File “/usr/bin/lutris”, line 52, in
from lutris.gui.application import Application # pylint: disable=no-name-in-module
File “/usr/lib/python3.9/site-packages/lutris/gui/application.py”, line 39, in
from lutris.game import Game, export_game, import_game
File “/usr/lib/python3.9/site-packages/lutris/game.py”, line 17, in
from lutris.config import LutrisConfig
File “/usr/lib/python3.9/site-packages/lutris/config.py”, line 11, in
from lutris.util.yaml import read_yaml_from_file, write_yaml_to_file
File “/usr/lib/python3.9/site-packages/lutris/util/yaml.py”, line 4, in
import yaml
ModuleNotFoundError: No module named ‘yaml’

even tho i already have python-yaml, attempted to reinstall but it doesn’t seem to be working and i have no idea on what to do anymore

edit: Forgot to add, i am using Arch linux with KDE

You may have some issues with your Python Installation, I had such an issue once.
I had to delete the user site-packages.

i had reinstalled python but that didn’t work, i’ll try this now

just did that, didn’t work still gives me the same errors

Ok update, using the clone from git has worked with the minor steps of having to install Pillow and pyyaml with pip. The pacman version is still broken with the same error. Dont know if thats me tho, hope this can help someone in the future.
I’ll close the thread