下記のエラーがでてpyenvからインストールできなかった
ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
下記は公式のトラブルシューティングガイド
https://github.com/pyenv/pyenv/wiki/Common-build-problems
下記を実行したらできた
https://tecadmin.net/install-python-3-7-on-centos/
# cd Python-3.7.3
# ./configure --enable-optimizations
# make altinstall
シンボリックリンクつくったりpath通したりするのは自分でやる必要あり
またやりそうな感じありありなのでメモ