Python 3.x 在windows中更新pip

Python 3.x 在windows中更新pip,python-3.x,pip,windows-8.1,anaconda,Python 3.x,Pip,Windows 8.1,Anaconda,环境: Python 3.5.2 Anaconda 4.2.0(64位) Windows 8.1 我尝试在cmd中使用easy\U intall-U pip更新pip 错误: The following error occurred while trying to add or remove files in the installation directory: [Errno 13] Permission denied: 'C:\\Program Files\\Anaconda3\\Lib

环境:

Python 3.5.2
Anaconda 4.2.0(64位)
Windows 8.1

我尝试在cmd中使用
easy\U intall-U pip
更新pip

错误:

The following error occurred while trying to add or remove files in the installation directory:

[Errno 13] Permission denied: 'C:\\Program Files\\Anaconda3\\Lib\\site-packages\\test-easy-install-4760.write-test'The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: C:\Program Files\Anaconda3\Lib\site-packages\

我不确定,但在Windows7及更高版本上,程序文件需要管理员权限

我在
c:\Anaconda
上安装了Anaconda,因此没有此类问题。你可以试试


但在此之前,请尝试以管理员权限运行控制台。在开始菜单中键入
cmd
,然后windows将显示
命令提示符
应用程序。右键单击并以管理员身份激活它。然后尝试更新pip。

尝试右键单击命令提示符图标并选择以管理员身份运行。在类似的案件中为我工作