CentOS 6에서 Python으로 데이터 분석 및 시각화

2017. 8. 10. 20:46서버 프로그래밍

<Python>


How to Install Python 3.6.1 on CentOS/RHEL & Fedora

https://tecadmin.net/install-python-3-6-on-centos/


Linux Python Anaconda 설치

http://blog.naver.com/PostView.nhn?blogId=cjh226&logNo=220919371679&parentCategoryNo=&categoryNo=11&viewDate=&isShowPopularPosts=false&from=postView


$ cd /usr/src

$ sudo wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz

$ sudo tar xzf Python-3.6.1.tgz

$ cd Python-3.6.1

$ sudo ./configure

$ sudo make altinstall

$ python3.6


$ cd ~

$ wget  https://repo.continuum.io/archive/Anaconda3-4.4.0-Linux-x86_64.sh

$ bash Anaconda3-4.4.0-Linux-x86_64.sh


# added by Anaconda3 4.4.0 installer

export PATH="/home/eduuser/anaconda3/bin:$PATH"


$ source .bashrc


$ wget https://raw.githubusercontent.com/katychuang/python-data-sci-basics/master/challenges/solutions/data.csv

$ vi requirements.txt


matplotlib==1.4.2

numpy==1.9.1


$ pip install -r requirements.txt


$ ipython3

$ ipython3 notebook