(bzsxt_env) PS D:\python\AUTO_CODE\scrapy05> pip install cryptography==36.0.2

WARNING: Ignoring invalid distribution -ip (d:\python\python_env\bzsxt_env\lib\site-packages)

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple

Collecting cryptography==36.0.2

  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/46/cd/abfb77b8a0666f38ec321e49eef3733cbecb3caf79926ec14a7fe3b2217f/cryptography-36.0.2-cp36-abi3-win_amd64.whl (2.2 MB)

Requirement already satisfied: cffi>=1.12 in d:\python\python_env\bzsxt_env\lib\site-packages (from cryptography==36.0.2) (1.15.1)

Requirement already satisfied: pycparser in d:\python\python_env\bzsxt_env\lib\site-packages (from cffi>=1.12->cryptography==36.0.2) (2.21)

WARNING: Ignoring invalid distribution -ip (d:\python\python_env\bzsxt_env\lib\site-packages)

Installing collected packages: cryptography

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

pyopenssl 23.2.0 requires cryptography!=40.0.0,!=40.0.1,<42,>=38.0.0, but you have cryptography 36.0.2 which is incompatible.

Successfully installed cryptography-36.0.2

用不了,看错误信息的意思版本要>=38.0.0

相关课程:Python 全系列>第十四阶段:Python 爬虫开发>scrapy框架使用>Scrapy_ImagePipeline保存图片

课程分类

百战程序员微信公众号

百战程序员微信小程序

©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园
网站维护:百战汇智(北京)科技有限公司
京公网安备 11011402011233号    京ICP备18060230号-3    营业执照    经营许可证:京B2-20212637