LoginSignup
2
0

More than 1 year has passed since last update.

pyenv でpythonの共有ライブラリもインストールする

Posted at

Linuxにおいて、pyenvでpythonをインストールするときに、

bash
CONFIGURE_OPTS="--enable-shared" pyenv install 3.x.x

みたいなオプションをつけてあげると、pythonの共有ライブラリ(Python.hとかlibpython3.x.soなど)もpyenvのパスの下にインストールされる。共有ライブラリはビルドが必要なパッケージを入れるときに必要かも。

参考文献

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