LoginSignup
0
0

More than 3 years have passed since last update.

pyenvインストール(メモ)

Last updated at Posted at 2019-11-18

目的

2系と3系を共存させるためpyenvを使用する。
手順の備忘録のため記載しておく

# sudo yum install bzip2-devel xz-devel
# curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
# echo 'export PATH="/home/ec2-user/.pyenv/bin:$PATH"' >> ~/.bash_profile
# echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
# echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bash_profile
# echo 'unalias python' >> ~/.bash_profile
# source ~/.bash_profile
# pyenv install 3.6.5
# pyenv global 3.6.5
# python --version

機械学習系で入れたライブラリ

Jupyter (1.0.0)
Notebook (5.5.0)
NumPy (1.14.3)
SciPy (1.1.0)
Pandas (0.23.0)
Pillow (5.1.0)
Imageio (2.3.0)
Matplotlib (2.2.2)
scikit-learn (0.19.1)

pip --no-cache-dir install jupyter==1.0.0 notebook==5.5.0 numpy==1.14.3 scipy==1.1.0 pandas==0.23.0 pillow==5.1.0 imageio==2.3.0 matplotlib==2.2.2 scikit-learn==0.19.1 tornado==5.1.1

0
0
0

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
0
0