Vagrant up给'cygpath'Vagrant在路径中找不到

use*_*898 10 cygwin vagrant vagrant-windows

我安装了Vagrant,Vagrant init工作正常.当我现在运行Vagrant时,我收到此错误:

The executable 'cygpath' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.
Run Code Online (Sandbox Code Playgroud)

我使用cygwin作为终端,我有Windows 8,我已经C:\cygwin64\bin在我的PATH中添加了一些变量.

我的问题是,当我指定了我的cygwin bin的路径时,为什么会收到此错误消息?

谢谢!

Chr*_*ter 8

我假设你安装了Cygwin,只需将cygwin的路径(通常是c:\ cygwin\bin\cygwin.exe)添加到你的shell%path%变量中,你应该准备好了.

  • Ctrl-X => System => Advanced Settings => Variables
  • 重新启动Powershell/Cmd-Window