error in setup.cfg: command 'build' has no such option 'i18n'

Asked by Belal HMEDAN

I'm trying to install the [aptdaemon](https://pypi.org/project/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.

Question information

Language:
English Edit question
Status:
Solved
For:
Aptdaemon Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

Why don't you use the aptdaemon package that is provided in the Ubuntu repositories?
sudo apt install aptdaemon
or
sudo apt install python3-aptdaemon
(depending on the package that you need)

Revision history for this message
Belal HMEDAN (bhomaidan) said :
#2

Thanks Manfred Hampl, that solved my question.