小さなエンドウ豆

まだまだいろいろ勉強中

Anaconda

Pythonのお勉強

こんにちは、テストも終わったので好きなことやっていきたい。
そこでPythonのお勉強が中途半端になっていたのでそれをしたいがAnacondaっていう便利なものがあるらしいのでまずはそれをインストールしていく

Anaconda

いかにもPythonディストリビューションらしい名前...私自身蛇は好きではない。
しかしこのAnacondaはインストールするだけでPythonの環境がすぐにできちゃうものらしい。
なのでとりあえずインストールしてみた。 環境はUbuntu14.04
Anaconda
ここからlinuxのAnacondaをPython3.5が使えるAnaconda3-2.4.1-Linux-x86_64.shをダウンロード(Python2.x系が使いたい方はAnaconda2-2.4.1-Linux-x86_64.sh)

#bash Anaconda3-2.4.1-Linux-x86_64.sh

Welcome to Anaconda3 2.4.0 (by Continuum Analytics, Inc.)

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>>     
================
Anaconda License
================




cryptography
A Python library which exposes cryptographic recipes and primitives.

Do you approve the license terms? [yes|no]
[no] >>> yes    <-'yes'と入力




[/root/anaconda3] >>>  <-インストール先指定




Do you wish the installer to prepend the Anaconda3 install location
to PATH in your /root/.bashrc ? [yes|no]
[no] >>> yes   <-- bashrcに設定




Thank you for installing Anaconda3!

Share your notebooks and packages on Anaconda Cloud!
Sign up for free: https://anaconda.org

たぶんこれで完了!
しかしpython3と打っても昔作ったPythonの環境が立ち上がるためパスがうまく通ってない模様...力わざでbash_profileに書いてみたら出来ました。

#python3 --version
Python 3.5.0 :: Anaconda 2.4.0 (64-bit)