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用于数据科学.数据分析.机器学习中的一篇非常好 ...
随机推荐
- C++多线程编程入门之经典实例
多线程在编程中有相当重要的地位,我们在实际开发时或者找工作面试时总能遇到多线程的问题,对多线程的理解程度从一个侧面反映了程序员的编程水平. 其实C++语言本身并没有提供多线程机制,但Windows系统 ...
- MyJni撒旦
package com.baidu.jnitest; import android.os.Bundle; import android.app.Activity; import android.vie ...
- MVC 微信支付
微信支付方式有好几种,俺研究了跟自己需要的两种,即:JS API网页支付和Native原生支付,这两个名词实在是有目的难懂.JS API网页支付:我的理解是在微信浏览器里面可以调用微信支付控件的支付方 ...
- 2014年4月份第1周51Aspx源码发布详情
基于Extjs4+MVC4权限管理源码 2014-3-31 [VS2012]源码描述: 20140331更新:修改部门管理中bug 20140303更新:增加部门管理模块,主要包含部门添加,编辑,删 ...
- Unity Sprite切割导出
这次需要将美术提供的Sprite图集切割导出,整体思路依然和上次的Sprite转prefab一致,只是在转prefab的逻辑修改为了创建Texture的逻辑. 过程很简单,直接看最终代码结果: usi ...
- 12-4mysql 查询
简单查询select * from 表名; 注意:*代表所有); 查询指定列 select 列名,列名 from 表名 修改结果集的列名select 列名 as'',列名 as'' from 表名 条 ...
- 纯CSS3实现轮播切换效果
使用纯css3实现与轮播器一样的功能. HTML代码: <div class="slide-container"> <input type="radio ...
- vi 编辑器命令 (share)
转自:http://man.ddvip.com/soft/vieditor/vi.html 一.Unix编辑器概述 编辑器是使用计算机的重要工具之一,在各种操作系统中,编辑器都是必不可少的部件.Uni ...
- 新冲刺Sprint3(第三天)
一.Sprint会议 更新商品价格.商品描述功能已经完成了,搜索商品功能也正在准备了. 以下是部分功能真机测试下的效果图: 二.Sprint周期 看板: 燃尽图:
- mm/memory
/* * linux/mm/memory.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * demand-loading started ...