版权声明:本文为博主原创文章,未经博主允许也可以得转载。 https://blog.csdn.net/zrcshendustudy/article/details/82355591
情境再现:
AttributeError: module 'pip' has no attribute 'pep425tags'
分析问题:
百度可知是Win32和Win64的输入命令各有所不同。
解决问题:
win64
import pip._internal
print(pip._internal.pep425tags.get_supported())
win32
import pip
print(pip.pep425tags.get_supported())
感谢这篇博客
http://www.cnblogs.com/kingwangzhen/p/9395830.html