安装pip install xpinyin 的时候遇到了pip需要升级的问题
WARNING: You are using pip version 19.3.1; however, version 20.1.1 is available. You should consider
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\program files
解决思路:
1.升级到提示的pip版本
2.再开始安装pip install xpinyin
解决方法:在install后面加上--user
>python -m pip install --user --upgrade pip==20.1.1
期望:升级成功
开始安装pip install xpinyin
期望:安装成功