为什么"流浪"给我一个错误?

时间:2014-08-26 02:04:29

标签: vagrant vagrantfile

我正在安装datasciencetoolbox,在输入valgrant up后,我收到以下错误:

dyn-72-33-239-166:psql mona$ mkdir MyDataScienceToolbox
dyn-72-33-239-166:psql mona$ cd MyDataScienceToolbox/
dyn-72-33-239-166:MyDataScienceToolbox mona$ vagrant init data-science-toolbox/dst
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
dyn-72-33-239-166:MyDataScienceToolbox mona$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The box 'data-science-toolbox/dst' could not be found.


dyn-72-33-239-166:MyDataScienceToolbox mona$ ls -la Vagrantfile 
-rw-r--r--  1 mona  staff  4646 Aug 25 20:55 Vagrantfile

enter image description here

我正在关注本教程:DataScienceToolBox

2 个答案:

答案 0 :(得分:1)

您是否正在使用旧版Vagrant?以下是这些命令对我的作用:

vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'data-science-toolbox/dst' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'data-science-toolbox/dst'
    default: URL: https://vagrantcloud.com/data-science-toolbox/dst
==> default: Adding box 'data-science-toolbox/dst' (v0.1.5) for provider: virtualbox
    default: Downloading: https://vagrantcloud.com/data-science-toolbox/dst/version/1/provider/virtualbox.box
==> default: Waiting for cleanup before exiting...

你的甚至没有尝试从vagrantcloud中取回盒子的事实暗示了一个旧版本,也许。

您可以使用$ vagrant version获取您的版本。

答案 1 :(得分:0)

此框需要1.5+版本,所以我从这个网站更新到1.6版本,现在它正在运行 http://www.vagrantup.com/downloads.html