在 Windows 上安装 Paramiko 时,在哪里可以找到 Python Crypto 包?

发布于 2024-07-26 11:43:42 字数 442 浏览 2 评论 0原文

我正在尝试从在 Windows 上运行的 Python 进行 SFTP,并按照此处推荐的方式安装了 Paramiko。 不幸的是,它需要 Crypto.Util.randpool,所以我需要安装 Crypto 包。 我找到了适用于 Linux 的 RPMS,但找不到适用于 Windows 的任何内容或源代码。

Paramiko 的自述文件指出: 为 Win32 编译的 pycrypto 可以从 HashTar 主页下载: http://nitace.bsd.uchicago.edu:8080/hashtar

不幸的是,该链接不起作用。 PCrypto 主页上也没有给出链接。

知道如何克服这个问题吗?

I am trying to SFTP from Python running on windows and installed Paramiko as was recommended here. Unfortunately, it asks for Crypto.Util.randpool so I need to install the Crypto package. I found RPMS for Linux, but can't find anything or source code for windows.

The readme for Paramiko states:
pycrypto compiled for Win32 can be downloaded from the HashTar homepage:
http://nitace.bsd.uchicago.edu:8080/hashtar.

Unfortunately, that link does not work.
Neither does the link to given from PCrypto's homepage.

Any idea how to overcome this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

初心未许 2024-08-02 11:43:42

有关 Python 2.2 到 2.7 的 Win32 二进制文件,请参阅此处

See here for Win32 binaries for Python 2.2 through to 2.7

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文