自動化厨のプログラミングメモブログ │ CODE:LIFE

Python/ExcelVBA/JavaScript/Raspberry Piなどで色んなことを自動化

pyenvでPython3.7.0をインストールしようとしたらWARNING発生

pyenvでPython 3.7.0をインストールしようとしたらエラー発生。

WARNING: The Python bz2 extension was not compiled. Missing the bzip2 lib?
WARNING: The Python readline extension was not compiled. Missing the GNU readline lib?
WARNING: The Python sqlite3 extension was not compiled. Missing the SQLite3 lib?

拡張機能が足りないけどいいすか?みたいな内容らしい。

それぞれapt-getすればOK。

$ sudo apt-get update
$ sudo apt-get install -y libbz2-dev libreadline-dev libsqlite3-dev