brew install bzr missing paramiko and pycrypto

If you’re using Homebrew to manage installation of your UNIX tools on Mac OS, and you use Bazaar for version control system needs, you’ll probably run into some trouble when you perform your first check out from a repository that depends on ssh:

$ bzr co sftp://somehost.com/home/someuser/projects/my_project
bzr: ERROR: Unsupported protocol for url "sftp://asdfmeida.com": Unable to import paramiko (required for sftp support): No module named paramiko
$ brew install paramiko
Error: No available formula for paramiko

No problem. Just wget the latest version and install it yourself.

$ wget http://www.lag.net/paramiko/download/paramiko-1.7.4.zip
$ cd paramiko-1.7.4
$ easy_install ./

According to the README file in the paramiko package, this will install all the necessary dependencies including pycrypto. This process could probably be a new brew formula contribution but this writeup is better than nothing for now.

This entry was posted in General. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree