Installing user packages with dependencies on non-python libraries

We have been getting a few enquires about how to install user packages on the science platform that have dependencies on non-python libraries. Typically, these non-python libraries must be installed and built separately and the LD_LIBRARY_PATH updated. I created a simple tutorial with instructions using the bagpipes Baysian Analysis of Galaxies package as an example. Bagpipes depends on PyMultiNest, a Python interface to the MultiNest package, which is written in C++.

Tutorial notebook DP02_11_Working_with_user_packages.ipynb runs through the steps to user install the bagpipes package and build its dependencies on the RSP so that it can be used from both the Python command line shell and inside a notebook.

Feedback and questions welcome!

2 Likes