python报错:Cannot unpack file xxx

原来的安装包的代码:

pip install lightgbm -i  https://mirrors.aliyun.com/pypi/simple/

报错:Cannot unpack file xxx

改成:

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

你可能感兴趣的:(报错,Python)