问题现象
使用pip安装jieba的时候,报错如下:
C:\Users\11767>pip install jieba
Defaulting to user installation because normal site-packages is not writeable
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001602645F280>: Failed to establish a new connection: WinError 10061 由于目标计算机积极拒绝,无法连接。'))': /simple/jieba/

2.解决方法:切换为国内镜像源
切换pip镜像源,直接命令行输入:
bash
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jieba

如上,切换镜像源后,安装成功。