[英]Using bzr with SFTP on Windows/Cygwin
Note: I'm not sure if this belongs on ServerFault or StackOverflow 注意:我不确定这是否属于ServerFault或StackOverflow
I'm currently working on a project which has an SFTP-only bzr
repository. 我目前正在开发一个项目,该项目具有仅SFTP的bzr
存储库。 All works fine using my Linux machine, but when using Windows with Cygwin I get the following issue: 使用我的Linux机器,一切正常,但是将Windows与Cygwin一起使用时,出现以下问题:
$ bzr checkout sftp://user@hostname/var/bzr/project
bzr: ERROR: Unsupported protocol for url "sftp://user@hostname/var/bzr/project": Unable to import paramiko (required for sftp support): No module named Crypto
I have installed Cygwin's python-paramiko
package, so I'm not sure why it's refusing to use it. 我已经安装了Cygwin的python-paramiko
软件包,所以我不确定为什么它拒绝使用它。
Any suggestions much appreciated. 任何建议,不胜感激。
Clarification: This does work with Windows bazaar GUI tool & Windows cmd
shell, I'm just wondering if I can make it work in Cygwin as I prefer UNIXy command line tools. 澄清:这确实适用于Windows Bazaar GUI工具和Windows cmd
shell,我只是想知道是否可以使其在Cygwin中工作,因为我更喜欢UNIXy命令行工具。
Played around with this today. 今天玩这个。
Had to install python-crypto
which should be a prerequisite of python-paramiko
but isn't. 必须安装python-crypto
,这应该是python-paramiko
的先决条件,但不是。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.