在 18.04 版中安装 razercfg 时出错

在 18.04 版中安装 razercfg 时出错

在安装 razercfg 期间(https://github.com/mbuesch/razer) 我收到以下错误。互联网没有帮助。我该怎么办?

回溯(最近一次调用最后一次):

File "/home/XYZ/Downloads/razer-master/ui/setup.py", line 3, in 
from distutils.core import setup
ModuleNotFoundError: No module named 'distutils.core'
ui/CMakeFiles/pyrazer.dir/build.make:61: recipe for target 'ui/build/stamp' failed
make[2]: *** [ui/build/stamp] Error 1
CMakeFiles/Makefile2:195: recipe for target 'ui/CMakeFiles/pyrazer.dir/all' failed
make[1]: *** [ui/CMakeFiles/pyrazer.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

提前致谢...

答案1

安装 python3-distutils 确实解决了该问题。

相关内容