码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2020-08-14 20:22:48      阅读:54      评论:0      收藏:0      [点我收藏+]

标签:报错   roo   type   root   print   不能   typeerror   版本   attr   

这是python 3.x不能用2.x的版本问题;

解决方案:

import wheel.pep425tags as w

print(w.get_supported())

如果报错:

TypeError: get_supported() missing 1 required positional argument: ‘archive_root‘

修改为:

print(w.get_supported("win_amd64"))

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

标签:报错   roo   type   root   print   不能   typeerror   版本   attr   

原文地址:https://www.cnblogs.com/TheFlash-Bar/p/13499000.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!