Skip Steps 1 and 2 if you already installed Python3 and Git on Windows.

1. Install Python


The version of Python that is available in the Microsoft Store is not recommended. It may require installation of additional packages to work well with OpenVINO and the notebooks.

  • Download a Python installer from Choose Python 3.8, 3.9 or 3.10 and make sure to pick a 64 bit version. For example, this 3.8 installer:

  • Double click on the installer to run it, and follow the steps in the installer. Check the box to add Python to your PATH, and to install py. At the end of the installer, there is an option to disable the PATH length limit. It is recommended to click this.

2. Install Git

  • Download GIT from this link

  • Double click on the installer to run it, and follow the steps in the installer.

3. Install C++ Redistributable (For Python 3.8)

4. Install the Notebooks

After installing Python 3 and Git, run each step below using Command Prompt (cmd.exe), not PowerShell. Note: If OpenVINO is installed globally, please do not run any of these commands in a terminal where setupvars.bat is sourced.

5. Create a Virtual Environment

If you use Anaconda, please see the Conda section.

python -m venv anomalib_env

6. Activate the Environment


7. Clone the Repository

git clone
cd anomalib

8. Install the Packages

This step installs OpenVINO and dependencies like Jupyter Lab. First, upgrade pip to the latest version. Then, install the required dependencies.

python -m pip install --upgrade pip wheel setuptools
pip install -r .[full]


  • If you have installed multiple versions of Python, use py -3.8 when creating your virtual environment to specify a supported version (in this case 3.7).

  • If you use Anaconda, you may need to add OpenVINO to your Windows PATH. See the wiki/Conda page.

  • If you see an error about needing to install C++, please either install Microsoft Visual C++ Redistributable or use Python 3.7, which does not have this requirement.