ningzip 2022-04-07 13:36 采纳率: 50%
浏览 489
已结题

pypy下pip install selenium 报错

背景

windows pypy环境下pip22.0.4

代码

.\pip3 install selenium

结果

省略,,
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting certifi
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/37/45/946c02767aabb873146011e665728b680884cd8fe70dde973c640e45b775/certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting PySocks!=1.5.7,<2.0,>=1.5.6
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl (16 kB)
Requirement already satisfied: cffi>=1.12 in d:\python3.9.6\pypy3.9\lib (from cryptography>=1.3.4->urllib3[secure,socks]~=1.26->selenium) (1.15.0)
Collecting h11<1,>=0.9.0
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/19/d2/32a15a4955be1b8114a1c570999eefd31279c7f9aa2d2a43d492a79b53c5/h11-0.13.0-py3-none-any.whl (58 kB)
Building wheels for collected packages: cryptography
Building wheel for cryptography (pyproject.toml) ... error
error: subprocess-exited-with-error
脳 Building wheel for cryptography (pyproject.toml) did not run successfully.
鈹?exit code: 1
省略..
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
PS D:\Python3.9.6\pypy3.9\Scripts> .\pip3 install --upgrade pip3
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement pip3 (from versions: none)
ERROR: No matching distribution found for pip3

尝试过的方法

pip升级,已为最新版本:Requirement already satisfied: pip in d:\python3.9.6\pypy3.9\lib\site-packages (22.0.4)

请指点,多谢!

  • 写回答

3条回答 默认 最新

  • 关注

    用镜像源安装下看看

    pip install -i https://mirrors.aliyun.com/pypi/simple/ selenium
    
    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 4月14日
  • 修改了问题 4月7日
  • 修改了问题 4月7日
  • 修改了问题 4月7日
  • 展开全部

悬赏问题

  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值