Does this happen because Ubuntu created its own `click` package that is not the same as the one installed by `pip3 install click`? Maybe this bug affects users who have installed that other package?
Before I realized that, I uninstalled click with pip. Now I'm having additional problems. Ubuntu's click is trying to import `click`, but `click` is something else on my system (http://click.pocoo.org/5/). sudo apt-get install -f 100 ↵ Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: linux-headers-4.4.0-79 linux-headers-4.4.0-79-generic linux-image-4.4.0-79-generic linux-image-extra-4.4.0-79-generic linux-signed-image-4.4.0-79-generic Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: click Suggested packages: ubuntu-app-launch-tools | upstart-app-launch-tools The following packages will be upgraded: click 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/14.5 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y (Legado de datumbazo ... 629350 dosieroj kaj dosierujoj aktuale instalitaj.) Preparado por anstataŭigi .../click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb ... Traceback (most recent call last): File "/usr/bin/click", line 37, in <module> import click ImportError: No module named 'click' dpkg: averto: subprocezo malnova skripto pre-removal liveris eraran elir-staton 1 dpkg: ni provas skripton el la nova pako anstataŭe ... Traceback (most recent call last): File "/usr/bin/click", line 37, in <module> import click ImportError: No module named 'click' dpkg: eraro dum procezado de la arĥivo /var/cache/apt/archives/click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb (--unpack): subprocezo nova skripto pre-removal liveris eraran elir-staton 1 Job for click-system-hooks.service failed because the control process exited with error code. See "systemctl status click-system-hooks.service" and "journalctl -xe" for details. click-system-hooks.service couldn't start. Eraroj aperis dum procezado de: /var/cache/apt/archives/click_0.4.43+16.04.20170613-0ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1699283 Title: package click 0.4.43+16.04.20160203-0ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/click/+bug/1699283/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs