安装巧克力时出错。我应该怎么办?
Errors when installing chocolatey. What should I do?
当我从 Windows 开始加载 cmd.exe 时,默认进入命令提示符 c:\Users\gameoflife 目录。我是这台计算机的唯一人员和管理员。当我尝试安装 chocolatey 时,出现此错误(屏幕截图如下)。
有人可以帮我弄清楚我可能遗漏了什么。非常感谢!
按照安装页面上的说明:
https://chocolatey.org/install#installing-chocolatey
Chocolatey 的初始安装(通过命令提示符或 PowerShell)需要 administrative shell
。可以在此处找到有关如何执行此操作的详细信息:
https://www.howtogeek.com/194041/how-to-open-the-command-prompt-as-administrator-in-windows-8.1/
可以进行 Chocolatey 的非管理安装,如果这是您想要做的事情,我建议您通读文档的这一部分:
https://chocolatey.org/install#non-administrative-install
但是,请记住以下声明:
This option should be a last resort and is considered to be a more advanced scenario - most things you do on Windows require administrative rights, especially surrounding software management, so you are going to be limited even in packages you attempt to install.
当我从 Windows 开始加载 cmd.exe 时,默认进入命令提示符 c:\Users\gameoflife 目录。我是这台计算机的唯一人员和管理员。当我尝试安装 chocolatey 时,出现此错误(屏幕截图如下)。
有人可以帮我弄清楚我可能遗漏了什么。非常感谢!
按照安装页面上的说明:
https://chocolatey.org/install#installing-chocolatey
Chocolatey 的初始安装(通过命令提示符或 PowerShell)需要 administrative shell
。可以在此处找到有关如何执行此操作的详细信息:
https://www.howtogeek.com/194041/how-to-open-the-command-prompt-as-administrator-in-windows-8.1/
可以进行 Chocolatey 的非管理安装,如果这是您想要做的事情,我建议您通读文档的这一部分:
https://chocolatey.org/install#non-administrative-install
但是,请记住以下声明:
This option should be a last resort and is considered to be a more advanced scenario - most things you do on Windows require administrative rights, especially surrounding software management, so you are going to be limited even in packages you attempt to install.