AttributeError: module 'pip._internal' has no attribute 'pep425tags'

方法1:
import pip._internal.pep425tags
print(pip._internal.pep425tags.get_supported())

运行结果:
在这里插入图片描述这样就可以显示pip可以安装库的版本了

你可能感兴趣的:(AttributeError: module 'pip._internal' has no attribute 'pep425tags')