LoginSignup
6

More than 5 years have passed since last update.

CentOSにPythonをインストールする時のメモ

Last updated at Posted at 2014-06-13

CentOSにPythonをインストールする時のメモ

  • インストールにはpyenvを使う。
  • VirtualBox 4.3.6 + vagrant 1.6.3 + CentOS 6.5
# pyenvのインストール
git clone git://github.com/yyuu/pyenv.git .pyenv
echo 'export PATH="$HOME/.pyenv/bin:$HOME/.pyenv/shims:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile

# インストール出来るPythonバージョンの確認
pyenv install -l

# インストール
pyenv install 3.4.1
pyenv rehash
pyenv global 3.4.1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6