ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'C:\\ProgramData\\Anaconda3\\Lib\\site-packages\\numpy\\core\\_multiarray_tests.cp37-win_amd64.pyd'
Consider using the `--user` option or check the permissions.
上图是叫我们更新pip到最新版本, 得,那就更新呗!(注: pip -V 查看pip 版本)
输入任意一条命令:
python -m pip install -U pip
python -m pip install --upgrade pip
如果响应超时,那就换源,国内豆瓣的,亲测速度挺快的。
安装包的时候出现
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问
解决方法:添加 --user选项赋予权限就可以搞定。
python -m pip install --upgrade pip -i https://pypi.douban.com/simple --user