当前位置: 移动技术网 > IT编程>脚本编程>Python > Python -- 源码编译时提示:ModuleNotFoundError: No module named ‘distutils.command‘

Python -- 源码编译时提示:ModuleNotFoundError: No module named ‘distutils.command‘

2020年07月03日  | 移动技术网IT编程  | 我要评论

源码编译 python 时报错:

python3 setup.py install

Traceback (most recent call last):
  File "setup.py", line 12, in <module>
    from distutils.command.build_scripts import build_scripts as BuildScripts
ModuleNotFoundError: No module named 'distutils.command'

根据上面的报错,可以大致看出应该是 distutils 的问题

在其它正常的系统中,distutils 位于 /usr/lib/py

本文地址:https://blog.csdn.net/weixin_38645718/article/details/107079956

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网