Back to the main site

ModuleNotFoundError: No module named 'lutris'


#1

Hi,
A recent python update has broken my lutris install. I run Manjaro linux (an Arch derivative), with lutris installed from the AUR. When I run lutris from the terminal the error given is:
Traceback (most recent call last): File "/usr/bin/lutris", line 25, in <module> from lutris.gui.application import Application ModuleNotFoundError: No module named 'lutris'

System python version is python 3.6.


[Solved] Manjaro Gaming Edition Fresh Install - Lutris doesn't work
#2

what the hell‽

@Freso ARCH is broken agaaaaaaain


#3

Managed to fix it myself by reinstalling. Don’t know why I didn’t think of that before!


#4

I guess it’s because lutris was installed in /usr/lib/python3.5/ and the Python interpreter was looking in /usr/lib/python3.6/


#5

I just had the same issue upgrading from 3.6 to 3.7, and can confirm that doing a sudo mv /usr/lib/python3.6/site-packages/lutris* /usr/lib/python3.7/site-packages/ fixed it. Thanks for the tip!