在Windows 7 64位如何安装PyOpenSSL? [英] How do I install PyOpenSSL on Windows 7 64-bit?

查看:894
本文介绍了在Windows 7 64位如何安装PyOpenSSL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要获得 Scrapy 工作HTTPS,我需要PyOpenSSL < /一>,但我似乎无法得到这个工作。

To get Scrapy working on HTTPS, I need PyOpenSSL, but I can't seem to get this to work.

那么,有没有一个64位版本? 我看不出之一... ... 我已经安装了32位版本,但...

So, is there a 64-bit version available? I don't see one... I have installed the 32-bit version but...

目前,我得到这个错误回程从Scrapy:

I currently get this error back from Scrapy:

ERROR: Error downloading <https://SOME_PRIVATE_URL_HERE>:  
  [Failure instance: Traceback: <class 'scrapy.exceptions.NotSupported'>:
  HTTPS not supported: install pyopenssl library

有没有人有一个线索如何获取或编译一个64位版本?或者是,unneccesary?

Does anyone have a clue how to obtain or compile a 64-bit version? Or is that unneccesary?

推荐答案

您的问题是,未安装PyOpenSSL。你不说,但我从你已经安装了32位版本的PyOpenSSL,但使用的是64位版本的Python你的问题推断。这是行不通的。

Your problem is that PyOpenSSL is not installed. You don't say, but I infer from your question that you have installed a 32 bit version of PyOpenSSL but are using a 64 bit version of Python. That won't work.

如果你真的不能得到一个64位版本的PyOpenSSL,那么简单,可能是唯一的解决办法是安装32位版本的Python,Scrapy和所有的依赖关系。如果你感觉勇敢,那么你可以尝试从源代码编译为64位,但我不知道有足够的了解PyOpenSSL说不论这是否是实际的。

If you really can't get a 64 bit version of PyOpenSSL, then the simplest, and possibly the only, solution will be to install 32 bit versions of Python, Scrapy and all its dependencies. If you are feeling brave then you could attempt to compile from source for 64 bit but I don't know enough about PyOpenSSL to say whether or not that's practical.

这篇关于在Windows 7 64位如何安装PyOpenSSL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆