已解决ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'e:\\python\\scripts\\pip.exe' Consider using the `--user` option or check the permissions.
报错信息:由于OS错误,无法安装程序包:[WinError 5]拒绝访问。: ‘e:\\python\\scripts\\pip.exe'
请考虑使用–user选项或检查权限。
报错原因:
PIP安装模块的权限不够导致失败,小伙伴们执行下面的命令即可解决!!!
解决方法
执行下面的安装命令:
pip install -i http://pypi.douban.com/simple/ pip -U --trusted-host pypi.douban.com --user
安装成功了:
- permissions the Consider WinError packagespermissions the consider winerror winerror packages install oserror conflicting permissions behaviour the the user permission platform module extension the package packages build information the consider winerror authentication requested upgrading consider allow_partial_search_results consider partial