Public bug reported:
After apt-get install fabric on 16.10, I get "ImportError: No module
named Crypto"
$ fab deploy_zuul
Traceback (most recent call last):
File "/usr/bin/fab", line 9, in <module>
load_entry_point('Fabric==1.10.2', 'console_scripts', 'fab')()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 565,
in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2589,
in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2249,
in load
return self.resolve()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2255,
in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python2.7/dist-packages/fabric/main.py", line 19, in <module>
from fabric import api, state, colors
File "/usr/lib/python2.7/dist-packages/fabric/api.py", line 11, in <module>
from fabric.decorators import (hosts, roles, runs_once, with_settings, task,
File "/usr/lib/python2.7/dist-packages/fabric/decorators.py", line 9, in
<module>
from Crypto import Random
ImportError: No module named Crypto
apt-get install python-crypto fixes it, but I note on
http://packages.ubuntu.com/yakkety/fabric that it doesn't list python-
crypto (I wonder if anything else is also missing)
Can it be added to the depends for the package?
$ lsb_release -rd
Description: Ubuntu 16.10
Release: 16.10
$ dpkg -l | grep fabric
ii fabric 1.10.2-1
all Simple Pythonic remote deployment tool
** Affects: fabric (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1653755
Title:
Missing python-crypto dependancy
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fabric/+bug/1653755/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs