Data Science at the Command Line学习笔记(一)
学习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学习笔记(一)的更多相关文章
- Data Science at the Command Line学习笔记(二)
1.vagrant建立简单httpserver方法: 1)映射端口 修改Vagrantfile, 末尾添加本地端口和虚机端口的映射关系, 然后执行vagrant reload. Vagrant::Co ...
- Docker command line 学习笔记
deprecated ! 以后直接对这个更新 http://wangzhezhe.github.io/blog/2015/08/10/docker-operations/ 之前整理了好久,每次用到一点 ...
- 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 ...
- 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 ...
- 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 ...
- 学习笔记之Data Science
Data science - Wikipedia https://en.wikipedia.org/wiki/Data_science Data science, also known as data ...
- 学习笔记之Intermediate Python for Data Science | DataCamp
Intermediate Python for Data Science | DataCamp https://www.datacamp.com/courses/intermediate-python ...
- Linux Command Line 笔记(1)
Yunduan CUI graphical user interfaces make easy tasks easy, while command line interfaces make diffi ...
- Comprehensive learning path – Data Science in Python深入学习路径-使用python数据中学习
http://blog.csdn.net/pipisorry/article/details/44245575 关于怎么学习python,并将python用于数据科学.数据分析.机器学习中的一篇非常好 ...
随机推荐
- mongo
最近一直在用mongodb,有时候会需要用到统计,在网上查了一些资料,最适合用的就是用aggregate,以下介绍一下自己运用的心得.. 别人写过的我就不过多描述了,大家一搜能搜索到N多一样的,我写一 ...
- HTTP 超时
TWinHTTPTimeouts = class(TPersistent) private FConnectTimeout, FReceiveTimeout, FSendTimeout: DWord; ...
- 内存管理单元(MMU)和协处理器CP15介绍(转)
内存管理单元(MMU)和协处理器CP15介绍内存管理单元(MMU)介绍嵌入式系统中,存储系统差别很大,可包含多种类型的存储器件,如FLASH,SRAM,SDRAM,ROM等,这些不同类型的存储器件速度 ...
- java面试准备之基础排序——冒泡与选择排序
选择排序: [java] public void select(int[] arr){ for(int i=0;i<arr.length;i++){ ...
- YII2.0 验证表单
控制器代码 <?php namespace app\modules\pub\controllers; use Yii; use backend\base\BaseController; use ...
- 如何垂直居中一个<img>?
<!doctype html><html> <head> <meta charset="UTF-8"> <meta name= ...
- 巧用TexturePacker命令行
游戏开发使用TexturePacker来生成图片的atlas sheet, 工具非常好用. 一般GUI的方法, 新建一个tps文件, 将要图片加载进来,调整参数和输出路径, 最后点publish. 在 ...
- 腾讯优测优分享 | 这些年,我们追过的 fiddler
腾讯优测是专业的移动云测试平台,提供全面兼容性测试,远程真机租用,漏洞分析等多维度的测试服务,旗下优分享提供大量的移动研发及测试相关的干货! 一.fiddler原理简介 fiddler是目前最强大最好 ...
- JAVA 编码中文简述
中文编码问题虽然是个老问题,但对不熟悉的人来说还是不好处理的.不过Java中已经有了一套比较成熟的解决方案. 首先对中文编码格式予以简单介绍:中文编码有三套国标:GB2312,GBK,GB18030, ...
- SpringMVC案例1——对User表进行CRUD操作
------------------------------------------------------------------web.xml--------------------------- ...