python下载wheel并安装

发布时间:2024年01月04日

一、查看当前python 版本兼容信息

pip debug --verbose

C:\python\37>pip debug --verbose
WARNING: This command is only meant for debugging. Do not use this with automation for parsing and getting these details, since the output and options of this command may change without notice.
pip version: pip 23.3.2 from C:\python\37\lib\site-packages\pip (python 3.7)
sys.version: 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)]
sys.executable: C:\python\37\python.exe
sys.getdefaultencoding: utf-8
sys.getfilesystemencoding: utf-8
locale.getpreferredencoding: cp936
sys.platform: win32
sys.implementation:
? name: cpython
'cert' config value: Not specified
REQUESTS_CA_BUNDLE: None
CURL_CA_BUNDLE: None
pip._vendor.certifi.where(): C:\python\37\lib\site-packages\pip\_vendor\certifi\cacert.pem
pip._vendor.DEBUNDLED: False
vendored library versions:
? CacheControl==0.13.1
? colorama==0.4.6
? distlib==0.3.6
? distro==1.8.0
? msgpack==1.0.5
? packaging==21.3
? platformdirs==3.8.1
? pyparsing==3.1.0
? pyproject-hooks==1.0.0
? requests==2.31.0
? certifi==2023.07.22
? chardet==5.1.0
? idna==3.4
? urllib3==1.26.17
? rich==13.4.2 (Unable to locate actual module version, using vendor.txt specified version)
? pygments==2.15.1
? typing_extensions==4.7.1 (Unable to locate actual module version, using vendor.txt specified version)
? resolvelib==1.0.1
? setuptools==68.0.0 (Unable to locate actual module version, using vendor.txt specified version)
? six==1.16.0
? tenacity==8.2.2 (Unable to locate actual module version, using vendor.txt specified version)
? tomli==2.0.1
? truststore==0.8.0 (Unable to locate actual module version, using vendor.txt specified version)
? webencodings==0.5.1 (Unable to locate actual module version, using vendor.txt specified version)
Compatible tags: 27
? cp37-cp37m-win_amd64
? cp37-abi3-win_amd64
? cp37-none-win_amd64
? cp36-abi3-win_amd64
? cp35-abi3-win_amd64
? cp34-abi3-win_amd64

? cp33-abi3-win_amd64
? cp32-abi3-win_amd64
? py37-none-win_amd64
? py3-none-win_amd64
? py36-none-win_amd64
? py35-none-win_amd64
? py34-none-win_amd64
? py33-none-win_amd64
? py32-none-win_amd64
? py31-none-win_amd64
? py30-none-win_amd64
? cp37-none-any
? py37-none-any
? py3-none-any
? py36-none-any
? py35-none-any
? py34-none-any
? py33-none-any
? py32-none-any
? py31-none-any
? py30-none-any

则兼容红色加粗字体版本的wheel

二、打开下载地址

wxPython · PyPI

根据版本兼容,下周cp37的whl

三、安装

复制到python目录,运行pip install wxPython-4.2.0-cp37-cp37m-win_amd64.whl

文章来源:https://blog.csdn.net/u012640973/article/details/135381541
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。