I’m trying to install the aptdaemon package on Ubuntu 20.04
as follows: pip3 install aptdaemon
but I’m getting an error:
error in setup.cfg: command 'build' has no such option 'i18n'
I have installed both python3-distutils
and python3-distutils-extra
:
sudo apt install --reinstall python3-distutils
sudo apt install --reinstall python3-distutils-extra
but still the error appears.
Can you please tell me how can I get rid of this error in setup.py build requirements? thanks in advance.
2
Answers
The solution is to use Ubuntu
aptdaemon
package that is provided in the Ubuntu repositories:Credit to this answer
Open file
setup.cfg
look for section called[build]
and inside this section you will find line calledi18n = 1
remove this line then save thie changes then try to install againbecause the error suggests that it is
i18n = 1