Problem also exists in click (0.4.39.1+15.10.20150702-0ubuntu2) on
Ubuntu 15.10 :

-----
$ sudo apt-get install click
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  click
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/14.1 kB of archives.
After this operation, 86.0 kB of additional disk space will be used.
Selecting previously unselected package click.
(Reading database ... 407814 files and directories currently installed.)
Preparing to unpack .../click_0.4.39.1+15.10.20150702-0ubuntu2_amd64.deb ...
Unpacking click (0.4.39.1+15.10.20150702-0ubuntu2) ...
Processing triggers for shared-mime-info (1.3-1) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up click (0.4.39.1+15.10.20150702-0ubuntu2) ...
Traceback (most recent call last):
  File "/usr/bin/click", line 31, in <module>
    from click import commands
ImportError: cannot import name 'commands'
dpkg: error processing package click (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 click
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ click
Traceback (most recent call last):
  File "/usr/bin/click", line 31, in <module>
    from click import commands
ImportError: cannot import name 'commands'
-----

Tried on more than one Ubuntu 15.10 system.  Works on some; doesn't work
on one of them.  I guess some combination of packages that I have is
causing it.

Already tried "apt-get install --reinstall" on python, python3, and
python3-click .  Even removed everything in /usr/local/lib/python* ,
thinking they might be conflicting somehow.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1486841

Title:
  from click import commands: ImportError: cannot import name 'commands'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1486841/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to