Solve:
D:\Program Files\python\Scripts>pip install selenium
Collecting selenium
Using cached selenium-4.1.0-py3-none-any.whl (958 kB)
Collecting trio-websocket~=0.9
Using cached trio_websocket-0.9.2-py3-none-any.whl (16 kB)
Requirement already satisfied: urllib3[secure]~=1.26 in d:\program files\python\lib\site-packages (from selenium) (1.26.7)
Collecting trio~=0.17
Using cached trio-0.19.0-py3-none-any.whl (356 kB)
Requirement already satisfied: idna in d:\program files\python\lib\site-packages (from trio~=0.17->selenium) (3.3)
Collecting attrs>=19.2.0
Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting async-generator>=1.9
Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Collecting sniffio
Using cached sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting outcome
Using cached outcome-1.1.0-py2.py3-none-any.whl (9.7 kB)
Collecting sortedcontainers
Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting cffi>=1.14
Using cached cffi-1.15.0-cp310-cp310-win_amd64.whl (180 kB)
Collecting wsproto>=0.14
Using cached wsproto-1.0.0-py3-none-any.whl (24 kB)
Requirement already satisfied: certifi in d:\program files\python\lib\site-packages (from urllib3[secure]~=1.26->selenium) (2021.10.8)
Collecting pyOpenSSL>=0.14
Using cached pyOpenSSL-21.0.0-py2.py3-none-any.whl (55 kB)
Collecting cryptography>=1.3.4
Using cached cryptography-36.0.0-cp36-abi3-win_amd64.whl (2.2 MB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Requirement already satisfied: six>=1.5.2 in d:\program files\python\lib\site-packages (from pyOpenSSL>=0.14->urllib3[secure]~=1.26->selenium) (1.16.0)
Collecting h11<1,>=0.9.0
Using cached h11-0.12.0-py3-none-any.whl (54 kB)
Installing collected packages: pycparser, cffi, attrs, sortedcontainers, sniffio, outcome, h11, cryptography, async-generator, wsproto, trio, pyOpenSSL, trio-websocket, selenium
Successfully installed async-generator-1.10 attrs-21.2.0 cffi-1.15.0 cryptography-36.0.0 h11-0.12.0 outcome-1.1.0 pyOpenSSL-21.0.0 pycparser-2.21 selenium-4.1.0 sniffio-1.2.0 sortedcontainers-2.4.0 trio-0.19.0 trio-websocket-0.9.2 wsproto-1.0.0
D:\Program Files\python\Scripts>
pip
能够正常运行