Public bug reported:

Currently the `/usr/bin/autopep8` script has `#!/usr/bin/python` at the
top, and yet it only installs with the python2 module. As a result, if
the system python (via /etc/alternatives) is set to python3 then it
fails with a mysterious "pkg_resources.DistributionNotFound: The
'autopep8==1.3.4' distribution was not found and is required by the
application".

(bug was noticed in 18.04 bionic)

** Affects: autopep8 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Currently the `/usr/bin/autopep8` script has `#!/usr/bin/python` at the
  top, and yet it only installs with the python2 module. As a result, if
  the system python (via /etc/alternatives) is set to python3 then it
  fails with a mysterious "pkg_resources.DistributionNotFound: The
  'autopep8==1.3.4' distribution was not found and is required by the
  application".
+ 
+ (bug was noticed in 18.04 bionic)

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

Title:
  fails when system python is set to python3

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to