import pip
While working on some instructional Jupyter Notebooks lately, I included written instructions for installing required Python modules from PyPI using pip
. Some users of the notebooks were very new to Python (and programming in some cases), so the extra installation step seemed onerous. I decided my notebooks should include code to install the required Python modules for the user, if they didn’t want to run pip
themselves.