Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'OpenSSL.SSL' has no attribute 'SSLv3_METHOD #320

Open
chienchen0405 opened this issue Mar 8, 2024 · 3 comments
Open

Comments

@chienchen0405
Copy link

你好,非常感谢你的维护,我想问一下我按照requirement里面的下载scrapy的版本,但是依然出现这个报错,提示是OpenSSL的版本和scrapy的不兼容,这个问题该如何解决呢?

@x-t-liu
Copy link

x-t-liu commented Mar 20, 2024

me too!

@x-t-liu
Copy link

x-t-liu commented Mar 20, 2024

换低版本的OpenSSL了

@HairlessVillager
Copy link

卸载cryptography:pip uninstall cryptography
重新安装cryptography 36.0.2:pip install cryptography==36.0.2
卸载pyOpenSSL:pip uninstall pyOpenSSL
重新安装pyOpenSSL 22.0.0:pip install pyOpenSSL==22.0.0

我是这样修好了,但是我不清楚具体的原理。原文:CSDN - 【Bug——Python】AttributeError: module ‘OpenSSL.SSL’ has no attribute ‘SSLv3_METHOD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants