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