我在 Windows 8.1 上 当我尝试安装 vagrant 并使用 virtual box 运行它时,我总是会收到以下错误。
"The provider 'virtualbox' that was requested to back the machine 'default' is reporting that it isn't usable on this system. The reason is shown below:
Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed. Vagrant uses the
VBoxManage
binary that ships with VirtualBox, and requires this to be available on the PATH. If VirtualBox is installed, please find theVBoxManage
binary and add it to the PATH environmental variable."
我尝试过不同的方法,例如卸载 virtual box 和 vagrant 并重新安装它们。 我尝试先安装 vagrant,然后再安装 vbox,反之亦然,但没有任何改变。
我是 vagrant 的新手,所以如果有人可以提供帮助。
最佳答案
我打赌您使用的是最新的 VirtualBox 版本 (4.3.12)。如果是这样,将在 Vagrant 1.6.3 中解决一个已知问题:
https://github.com/mitchellh/vagrant/issues/3852
作为解决方法,您可以安装 VirtualBox 4.3.10,它会完美运行。
关于windows - 由于 Vbox 错误,无法运行 vagrant up (MS 81.),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23824824/