Installing python librariesΒΆ
Run an OpenCMISS-Iron Docker container using the instructions in the Running from terminal Section in the Getting Started Section.
New python libraries can be installed from the bash terminal running in the Docker container using the following command:
/opt/conda/bin/pip install --user 'tensorflow-cpu==2.2.0'This installs the module in the
~/.localwithin the Docker container, which is mapped tooc/usr/local/on the host machine.Important
Once new packages are installed, to use them with JupyterLab, the kernel needs to be restarted. This can be achieved by selecting the Kernel menu on JupyterLab and selecting Restart Kernel.