直接用pip debug --verbose 命令即可看 pip 支持。 注: 感謝 lukea 小伙伴的分享!
詳細代碼如下:
C:\Users\Administrator>pip debug --verbose
WARNING: This command is only meant for debugging. Do not use this with automati
on for parsing and getting these details, since the output and options of this c
ommand may change without notice.
pip version: pip 20.0.2from d:\python\lib\site-packages\pip (python 3.6)
sys.version:3.6.5(v3.6.5:f59c0932b4, Mar 282018,16:07:46)[MSC v.190032 bit(Intel)]
sys.executable: d:\python\python.exe
sys.getdefaultencoding: utf-8
sys.getfilesystemencoding: utf-8
locale.getpreferredencoding: cp936
sys.platform: win32
sys.implementation:name: cpython
'cert' config value: install
REQUESTS_CA_BUNDLE:None
CURL_CA_BUNDLE:None
pip._vendor.certifi.where(): d:\python\lib\site-packages\pip\_vendor\certifi\cac
ert.pem
Compatible tags:24cp36-cp36m-win32cp36-abi3-win32cp36-none-win32cp35-abi3-win32cp34-abi3-win32cp33-abi3-win32cp32-abi3-win32py36-none-win32py3-none-win32py35-none-win32py34-none-win32py33-none-win32py32-none-win32py31-none-win32py30-none-win32cp36-none-anypy36-none-anypy3-none-anypy35-none-anypy34-none-anypy33-none-anypy32-none-anypy31-none-anypy30-none-any