Python第三方库报错解决

今天测试某项目时在 Kali 安装 python 第三方库遇到的这个问题:WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, st,可使用以下命令来解决。

pip install 库或包名 -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

你可能感兴趣的:(问题解决,python)