[Solved] Run sudo python setup.py install Error: error: error in setup.cfg: command ‘build‘ has no such option ‘i18

1. Problem description

Error: error in setup.cfg: Command ‘build’ has no such option ‘I18N’ when running sudo Python setup.py install in the installation package of Ubuntu system

2. Solutions

Other dependent environments need to be installed:

Python distutils extra needs to be installed

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

Then run it again

sudo python setup.py install

Read More: