Example 1: Installing MONAI using the PythonPip module
Introduction
With the PythonPip module, you can import additional Python libraries into MeVisLab.
Steps to do
Install PyTorch
As MONAI requires PyTorch, install it by using the PythonPip module as described here.
Install MONAI
After installing torch and torchvision, we install MONAI.
For installing MONAI enter "monai" into the Command textbox and press Install.
After clicking Install, the pip console output opens and you can follow the process of the installation.
If you are behind a proxy server, you may have to set the HTTP_PROXY and HTTPS_PROXY environment variables to the hostname and port of your proxy. These are used by pip when accessing the internet.
Alternatively you can also add a parameter to pip install command: –proxy https://proxy:port
After the installation was finished with exit code 0, you should see the new packages in the PythonPip module.
Summary
- MONAI can be installed and directly used in MeVisLab by using the
PythonPipmodule.





