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)
用镜像源安装下看看
pip install -i https://mirrors.aliyun.com/pypi/simple/ selenium
你将wheel 升级一下复制重新安装一下wheel
pip install wheel
然后再次安装,看报错你的应该是wheel 没有正确启动造成的
pip install selenium