在cmd中输入python或ipython
原始输入:
import pip
print(pip.pep425tags.get_supported())
或
import pip._internal
print(pip._internal.pep425tags.get_supported())
均出现如下报错信息:
Traceback (most recent call last):
File “”, line 1, in
AttributeError: module ‘pip’ has no attribute ‘pep425tags’
解决方案:
import wheel.pep425tags
print(wheel.pep425tags.get_supported())