学习Data Science at the Command Line时,win7下安装环境是遇到了一些小问题,最后通过百度解决。

官方指导可以在这个地址找到:http://datascienceatthecommandline.com/

1)电脑安装完vagrant+virtual box之后,新建工作目录,

默认会在c:\User\<username>\目录下生成.vagrant.d及\VirtualBox VMs目录,C盘空间可能会因此而不足。

a)打开VirtualBox,从菜单项选择 全局设置
b)选择 常规 里的 默认虚拟电脑位置(M) ,更改为目标工作目录
    
c)将 c:\User\<username>\.vagrant.d 目录移动到新的位置
d)设置 VAGRANT_HOME~ 环境变量指向新的位置即可。

cmd进入工作目录后

$ vagrant init data-science-toolbox/data-science-at-the-command-line

生成了一个Vagrantfile文件。文件内容如下:

Vagrant.configure(2) do |config|
config.vm.box = "data-science-toolbox/data-science-at-the-command-line"
end

2)启动vagrant up时报错,发现第一次启动过程会去下载data science对应的box文件,但是国内的网络下载国外资源还是不稳定,总是无法下载或者下载到一半就断了。(https://vagrantcloud.com/data-science-toolbox/boxes/data-science-at-the-command-line/versions/1.0.0/providers/virtualbox.box),后来通过下载工具下载完成dst-dsatcl-1.0.0.box文件。

$vagrant box add --force data-science-toolbox/data-science-at-the-command-line E:\DSBox\dst-dsatcl-1.0.0.box

手动添加文件,OK.

3)再次vagrant up 还是不能启动成功,手动通过vitrual box gui界面启动,查看错误代码。(两台电脑遇到的问题还不同,也是奇葩了。)

a、台式电脑报错Unable to load R3 module;b、笔记本电脑报错VT-x is disabled in the BIOS. (VERR_VMX_MSR_VMXON_DISABLED).

百度后发现Unable to load R3 module是自己的电脑GHOST版本win7的uxtheme.dll文件不对,应该是ghost系统内置了美化软件干的。做了一个PE启动U盘,进入PE系统,发现电脑C:\windows\system32下的文件除了uxtheme.dll还有一个uxtheme.dll.backup,将文件恢复为.backup那个之后,重启进入电脑,发现可以正常启动了。

笔记本电脑的问题重启后按F1进入笔记本的bios,修改Intel  Virtualization Technology为enabled(原来为disabled),重启之后再次vagrant up发现ok了。

4)$cd book

$git pull

更新一下相关文件

5) vagrant package --output develop.box --base develop

Data Science at the Command Line学习笔记(一)的更多相关文章

  1. Data Science at the Command Line学习笔记(二)

    1.vagrant建立简单httpserver方法: 1)映射端口 修改Vagrantfile, 末尾添加本地端口和虚机端口的映射关系, 然后执行vagrant reload. Vagrant::Co ...

  2. Docker command line 学习笔记

    deprecated ! 以后直接对这个更新 http://wangzhezhe.github.io/blog/2015/08/10/docker-operations/ 之前整理了好久,每次用到一点 ...

  3. Yandex Big Data Essentials Week1 Unix Command Line Interface Processes managing

    free displays the total amount of free and used memory free [options] top provides a dynamic real-ti ...

  4. Yandex Big Data Essentials Week1 Unix Command Line Interface File Content exploration

    cat displays the contents of a file at the command line copies or apppend text file into a document ...

  5. Yandex Big Data Essentials Week1 Unix Command Line Interface File System exploration

    File System Function In computing, a file system or filesystem is used to control how data is stored ...

  6. 学习笔记之Data Science

    Data science - Wikipedia https://en.wikipedia.org/wiki/Data_science Data science, also known as data ...

  7. 学习笔记之Intermediate Python for Data Science | DataCamp

    Intermediate Python for Data Science | DataCamp https://www.datacamp.com/courses/intermediate-python ...

  8. Linux Command Line 笔记(1)

    Yunduan CUI graphical user interfaces make easy tasks easy, while command line interfaces make diffi ...

  9. Comprehensive learning path – Data Science in Python深入学习路径-使用python数据中学习

    http://blog.csdn.net/pipisorry/article/details/44245575 关于怎么学习python,并将python用于数据科学.数据分析.机器学习中的一篇非常好 ...

随机推荐

  1. ZJOI2015 一试。

    虽然早就知道会是这个结果,但是看到的成绩时候还是有些忧伤,奇迹果然还是没有发生. 想了想还是应该写篇博文 纪念一下这段经历. Day0: 报道之后直接去了宾馆,然后意外的发现冬令营时候的室友wxh就住 ...

  2. 必备技能:分清楚DOM的attribute和property

    分清楚DOM的attribute和property,用JQ的时候分清楚attr,和prop方法,网上有很多大神的总结,我就不列举了.

  3. Django+python+BeautifulSoup垂直搜索爬虫

    http://blog.sina.com.cn/s/blog_709475a10100wmln.html

  4. android技巧(三)屏幕适配

    屏幕适配策略: 1.控件使用wrap_content.match_parent控制某些视图组件的宽度和高度,而不是硬编码的尺寸. “wrap_content”系统就会将视图的宽度或高度设置成所需的最小 ...

  5. Java基础小总结

    1,Java事件处理机制 (1)三部分:事件源.事件(处理)对象.实现事件监听器: (2)事件处理程序:可以通过ActionEvent e,e.getSource确定是哪个事件触发了,然后通过类似JB ...

  6. Spring框架学习(二)

    一.依赖注入的三种注入方式 Spring框架为我们提供了三种注入方式:set注入.构造方法注入和接口注入. 1.set注入 规律:无论给什么赋值,配置文件中<property>标签的nam ...

  7. 解决 xx.h has been modified since the precompiled header 系统头文件被修改

    fatal error: file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Dev ...

  8. nat转换

    实验目的: (1)     了解nat转换 (2)     了解nat转换配置命令 (3)     了解哪些是私有ip地址哪些不是私有ip地址 实验工具: 华为eNSP模拟器和Wireshar 实验拓 ...

  9. 最短JS判断是否为IE6(IE的写法)

    常用的 JavaScript 检测浏览器为 IE 是哪个版本的代码,包括是否是最人极端厌恶的 ie6 识别与检测.代码如下: var isIE=!!window.ActiveXObject; var ...

  10. 快速开发CSS的利器-LESS

    快速开发CSS的利器-LESS? 天下功夫,唯快不破!效率,在项目开发上,这是极其重要的.要做到快.精.准,在人任何时候都不是一件轻松容易的事.但是如果借助一些相应的工具,那就另当别论了!那么要想快速 ...