pip install Appium-Python-Client 报Failed to build cryptography错误解决办法

使用Pthon编写自动化脚本时,导入appium失败,百度查到需要安装Appium-Python-Client,于是CMD执行pip install Appium-Python-Client, 报错:

Building wheels for collected packages: cryptography
Building wheel for cryptography (PEP 517) ... error

ERROR: Failed cleaning build dir for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly

 

 解决办法:

1.执行命令:easy_install -U pip

 

展示如下图则表示pip升级成功

 

 

 2.执行命令:pip install cryptography

 

 展示如下图则表示安装成功

 

 3.执行命令:pip install Appium-Python-Client

 

 展示图下图则表示安装成功

 

posted @   寒冰宇若  阅读(1318)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
· 如何调用 DeepSeek 的自然语言处理 API 接口并集成到在线客服系统
历史上的今天:
2019-08-16 TCP/IP 协议栈4层结构及3次握手4次挥手
点击右上角即可分享
微信分享提示