pipのインストール
参考:http://keisanbutsuriya.hateblo.jp/entry/2015/01/26/224127←リンク切れ
⇒成功したと思われる。
%pip install --install-option="--prefix=$HOME/local" numpy
pyenvのインストール
参考:https://qiita.com/yuta_h3/items/2988c4d0811bf8c344c0
おそらく
%pyenv install --list
で表示される、
3.6.1
などの数字が、利用可能なバージョン。
%pyenv install 2.7.15 ⇒Downloading Python-2.7.15.tar.xz... -> https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz Installing Python-2.7.15... ⇒失敗⇒WARNING: The Python readline extension was not compiled. Missing the GNU readline lib? ERROR: The Python zlib extension was not compiled. Missing the zlib? Please consult to the Wiki page to fix the problem. https://github.com/pyenv/pyenv/wiki/Common-build-problems