Python Virtual Environment & Jupyter Notebook

by ubccr
GNU/Linux ◆ xterm ◆ bash 884 views

This demonstrates how to use a python virtual environment to install mpi4py into Jupyter so you can use it in an OnDemand Jupyter Notebook app.

The module loaded to create the virtual environment should not be used for other use cases. This is specific to the need to install an MPI Python library so we loaded an older version of Python that was built with Intel compilers.