See https://github.com/cedadev/ceda-notebooks/blob/dc6213e4234357d8572de096a4623965a98b5c88/scripts/utils/venv_utils.py#L30 and: https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program Should be changed to invoke `pip` via `subprocess`.
See
ceda-notebooks/scripts/utils/venv_utils.py
Line 30 in dc6213e
and:
https://pip.pypa.io/en/stable/user_guide/#using-pip-from-your-program
Should be changed to invoke
pipviasubprocess.