[Bug 1549731] Re: Cannot import twisted.conch.ssh.keys

Launchpad Bug Tracker 1549731 at bugs.launchpad.net
Sat May 21 08:17:25 UTC 2016

** Branch linked: lp:~twisted-packagers/twisted/twisted-sid

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to twisted in Ubuntu.

  Cannot import twisted.conch.ssh.keys

Status in Twisted:
Status in twisted package in Ubuntu:
  Fix Released
Status in twisted source package in Xenial:
  Fix Released

Bug description:
  $ python3 -c 'import twisted.conch.ssh.keys'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python3/dist-packages/twisted/conch/ssh/keys.py", line 34, in <module>
      from twisted.conch.ssh import common, sexpy
    File "/usr/lib/python3/dist-packages/twisted/conch/ssh/common.py", line 14, in <module>
      from twisted.conch.ssh._cryptography_backports import (
  ImportError: No module named 'twisted.conch.ssh._cryptography_backports'

  If I copy _cryptography_backports.py into place then it imports

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: python3-twisted 16.0.0~pre1-2ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-7.22-generic 4.4.2
  Uname: Linux 4.4.0-7-generic x86_64
  ApportVersion: 2.20-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Feb 25 10:39:21 2016
  InstallationDate: Installed on 2014-03-16 (710 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140316)
  PackageArchitecture: all
  SourcePackage: twisted
  UpgradeStatus: Upgraded to xenial on 2015-11-22 (94 days ago)

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list