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

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

from pip import _internal

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

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

另:下载时注意路径安排

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-05
  • 2021-09-18
  • 2021-07-15
  • 2021-07-08
猜你喜欢
  • 2021-07-15
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
相关资源
相似解决方案