首页 > 其他 > 详细

使用pip安装.whl文件时出现is not a supported wheel on this platform的解决办法

时间:2020-01-04 18:01:20      阅读:96      评论:0      收藏:0      [点我收藏+]

今天自己用pip下载basemap模块的时候出现了is not a supported wheel on this platform的错误(whl文件的版本合适)

经百度直到可以通过下述命令查看使用pip下载whl文件时支持的命名规则(支持的版本):

from pip import _internal

print(_internal.pep425tags.get_supported())  # 显示支持的版本格式

如果版本合适但pip下载失败出现上述问题,可以在shell中通过上述代码查看对应规则,并为文件重命名

另:下载时注意路径安排

使用pip安装.whl文件时出现is not a supported wheel on this platform的解决办法

原文:https://www.cnblogs.com/eat-w/p/12149596.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!