关于运行sudo python setup.py install出现error: error in setup.cfg: command ‘build‘ has no such option ‘i18

1.问题描述

Ubuntu系统在安装包是运行sudo python setup.py install出现error: error in setup.cfg: command 'build' has no such option 'i18n'

2.解决方案

需要安装其他依赖环境:

需要安装python-distutils-extra

sudo apt-get update -y
sudo apt-get install -y python-distutils-extra

之后在重新运行即可

sudo python setup.py install

猜你喜欢

转载自blog.csdn.net/weixin_44547510/article/details/119797351