{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/36278","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36278/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36278/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36278/events","html_url":"https://github.com/Homebrew/homebrew/issues/36278","id":55623612,"number":36278,"title":"Duplicity fails to find Crypto.PublicKey","user":{"login":"boyanpenkov","id":2211498,"avatar_url":"https://avatars.githubusercontent.com/u/2211498?v=3","gravatar_id":"","url":"https://api.github.com/users/boyanpenkov","html_url":"https://github.com/boyanpenkov","followers_url":"https://api.github.com/users/boyanpenkov/followers","following_url":"https://api.github.com/users/boyanpenkov/following{/other_user}","gists_url":"https://api.github.com/users/boyanpenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/boyanpenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyanpenkov/subscriptions","organizations_url":"https://api.github.com/users/boyanpenkov/orgs","repos_url":"https://api.github.com/users/boyanpenkov/repos","events_url":"https://api.github.com/users/boyanpenkov/events{/privacy}","received_events_url":"https://api.github.com/users/boyanpenkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-27T14:25:00Z","updated_at":"2015-01-29T06:20:17Z","closed_at":null,"body":"Installing duplicity, and then running \r\n```\r\nduplicity --encrypt-key me@me.com test sftp://boyan@machine.com/backups\r\n```\r\nyields this\r\n```\r\nDuplicity 0.6 series is being deprecated:\r\nSee http://www.nongnu.org/duplicity/\r\n\r\nBackendException: Could not initialize backend: No module named Crypto.PublicKey\r\n```\r\nI have paramiko and pycrypt installed, they `import` fine, and Crypto.PublicKey is in the correct `site-packages` directory.\r\n\r\nReinstalling duplicity, including `--build-from-source` didn't help.\r\n\r\nAny thoughts?"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/71974748","html_url":"https://github.com/Homebrew/homebrew/issues/36278#issuecomment-71974748","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/36278","id":71974748,"user":{"login":"tdsmith","id":173889,"avatar_url":"https://avatars.githubusercontent.com/u/173889?v=3","gravatar_id":"","url":"https://api.github.com/users/tdsmith","html_url":"https://github.com/tdsmith","followers_url":"https://api.github.com/users/tdsmith/followers","following_url":"https://api.github.com/users/tdsmith/following{/other_user}","gists_url":"https://api.github.com/users/tdsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/tdsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdsmith/subscriptions","organizations_url":"https://api.github.com/users/tdsmith/orgs","repos_url":"https://api.github.com/users/tdsmith/repos","events_url":"https://api.github.com/users/tdsmith/events{/privacy}","received_events_url":"https://api.github.com/users/tdsmith/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T06:20:17Z","updated_at":"2015-01-29T06:20:17Z","body":"We use system Python for apps like this so the relevant site-packages isn't what you'd expect. The problem is that duplicity isn't very good about declaring its dependencies and we have a few missing from the several that we install, sorry! pycrypto got left out; looks like we also need ecdsa."}}