Setup
To setup MIP on your machine, you first need to choose if you want to install it into a venv1 or right onto the global installation of Python.
Venv Setup
To setup MIP in a venv you first need to setup the venv:
This will generate all necessary files for a new venv. This will activate the venv, you should see a(venv)
prefix now.
Warning
With programs like oh-my-posh you will not see the (venv)
prefix.
You can verify that you are in the venv by running which python
or
which pip
. Both executables should be located in the venv/
folder
Now lets install MIP onto the venv!
Firstly you need to download the MIP Git Repository which you can achive by running
After that you need to cd into the dir and install the package which you can do by running MIP should now be installed in your venv. You can verify by running Somewhere in there, it should saymip-x.x.x
where x.x.x
is the version
Global Setup
If you prefer not to use a venv, thats not a problem! Just follow these steps to install MIP on your system.
Firstly you need to download the MIP Git Repository which you can achive by running
After that you need to cd into the dir and install the package which you can do by running MIP should now be installed on your system. You can verify by running Somewhere in there, it should saymip-x.x.x
where x.x.x
is the version
-
venv in python: Virtual Enviroment ↩