openrazer on Gentoo
If you run into an error while compiling openrazer from the vifino-overlay, you most likely have already a later python version installed than the driver supports. The error would look something like this:
Traceback (most recent call last):
File "setup.py", line 3, in <module>
from setuptools import setup, find_packages
ModuleNotFoundError: No module named 'setuptools'
All you need to do is temporarily set your python version to a supported version (like 3.7):
# eselect python list
Available Python interpreters, in order of preference:
[1] python3.8
[2] python3.6
[3] python2.7
[4] python3.7
# eselect python set 4
# eselect python list
Available Python interpreters, in order of preference:
[1] python3.7
[2] python3.8
[3] python3.6
[4] python2.7