共计 332 个字符,预计需要花费 1 分钟才能阅读完成。                                
                                                        
# 以安装 bs4 包为例
pip install bs4 -i https://pypi.tuna.tsinghua.edu.cn/simple
 在文件资源管理地址拦输入 %APPDATA%,新建 pip 文件夹,并新建文件 pip.ini,内容如下:
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]  
trusted-host=pypi.tuna.tsinghua.edu.cn
disable-pip-version-check = true  
timeout = 6000
 如果出现:ERROR: No matching distribution found for numpy
 建议更换其它镜像源