(Python pip)“failed building wheel for xxx” 问题

failed building wheel for xxx

遇到以下问题不要急
Building wheel for regex (setup.py) ... error
ERROR: Command errored out with exit status 1:
在这里插入图片描述

  1. 下载相应的whl:下载
    (以我遇到的问题为例)
  • 进入下载网站,Ctrl+f搜索相应的whl
    在这里插入图片描述
  1. pip
  • cmd进入python安装目录下的Scripts中
    cd C:\Users\xyh\AppData\Local\Programs\Python\Python35\Scripts
  • 安装(whl的下载路径)
    C:\Users\xyh\AppData\Local\Programs\Python\Python35\regex-2020.1.8-cp35-cp35m-win_amd64.whl
    -下载成功啦~在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/hongguoya/article/details/105800606