Add note about libpython requirement to gmxapi install docs.
authorM. Eric Irrgang <ericirrgang@gmail.com>
Thu, 26 Sep 2019 12:35:26 +0000 (15:35 +0300)
committerEric Irrgang <ericirrgang@gmail.com>
Tue, 15 Oct 2019 12:04:29 +0000 (14:04 +0200)
Change-Id: I0f6a3187412a6257b1b981c91e29954fbec46120

docs/gmxapi/userguide/install.rst

index cd75a1c97b6ea1a191519da2b34d66863b66c226..aa44b6e613bf5a99934063e91bafc8f653526697 100644 (file)
@@ -96,7 +96,14 @@ if gmxapi is unable to find the Python tools it needs, try a different Python
 installation or install the additional development packages.
 
 On a Linux system, this may require installing packages such as ``python-dev``
-and/or ``python3-dev``. Alternatively, various Python distributions provide a
+and/or ``python3-dev``.
+If you are building Python, either from scratch or with a tool like
+``pyenv install`` (see
+`wiki entry <https://github.com/pyenv/pyenv/wiki#how-to-build-cpython-with---enable-shared>`_
+),
+be sure to enable installation of the Python C library with the
+``--enable-shared`` flag.
+Alternatively, various Python distributions provide a
 sufficient build environment while only requiring installation into a user
 home directory. (Some examples below.)