skip to Main Content

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


  1. Chosen as BEST ANSWER

    The solution is to use Ubuntu aptdaemon package that is provided in the Ubuntu repositories:

    sudo apt install aptdaemon
    sudo apt install python3-aptdaemon
    

    Credit to this answer


  2. Open file setup.cfg look for section called [build] and inside this section you will find line called i18n = 1 remove this line then save thie changes then try to install again

    because the error suggests that it is i18n = 1

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search