mac搭建机器学习环境

1.首先得使用vpn(这个是必须条件)

2.下载:anaconda

下载网址:https://www.continuum.io/downloads#osx

我选的:COMMAND-LINE INSTALLER (375M)


下载完:Anaconda2-4.4.0-MacOSX-x86_64.sh

打开终端:进入Anaconda2-4.4.0-MacOSX-x86_64.sh所在目录

chmod 777 ./Anaconda2-4.4.0-MacOSX-x86_64.sh         //给执行的脚本添加执行权限

Do you approve the license terms? [yes|no]

>>> yes                                     


Anaconda2 will now be installed into this location:

/Users/mac/anaconda2


  - Press ENTER to confirm the location

  - Press CTRL-C to abort the installation

  - Or specify a different location below


[/Users/mac/anaconda2] >>> /Users/mac/Desktop/工具/anaconda2

这里执行报错,最后会报不支持中文路径,改成如下,在执行

[/Users/mac/anaconda2] >>> /Users/mac/Desktop/Tool/anaconda2

In order to continue the installation process, please review the license

agreement.

Please, press ENTER to continue

>>> 

....

A Python library which exposes cryptographic recipes and primitives.


Do you approve the license terms? [yes|no]

>>> 

>>> yes


installation finished.

Do you wish the installer to prepend the Anaconda2 install location

to PATH in your /Users/mac/.bash_profile ? [yes|no]

[yes] >>> yes


Prepending PATH=/Users/mac/Desktop/Tool/anaconda2/bin to PATH in /Users/mac/.bash_profile

A backup will be made to: /Users/mac/.bash_profile-anaconda2.bak



For this change to become active, you have to open a new terminal.


Thank you for installing Anaconda2!


Share your notebooks and packages on Anaconda Cloud!

Sign up for free: https://anaconda.org



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值