报错ERROR: Cannot unpack file C

报错ERROR: Cannot determine archive format of C

报错ERROR: Cannot unpack file C

输入了pip install +-i https://mirrors.aliyun.com/pypi/simple/   报错

此时切换其他国内源

  阿里云 http://mirrors.aliyun.com/pypi/simple/ 
  中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 
  豆瓣(douban) http://pypi.douban.com/simple/ 
  清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ 

即可安装成功。

若仍然报错,输入

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn 包名

即可成功安装包


                                                                    

你可能感兴趣的:(python)