-
Notifications
You must be signed in to change notification settings - Fork 925
Windows
Skip Steps 1 and 2 if you already installed Python3 and Git on Windows.
NOTE: 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 python.org. Choose Python 3.7, 3.8, 3.9 or 3.10 and make sure to pick a 64 bit version. For example, this 3.8 installer: https://www.python.org/ftp/python/3.8.8/python-3.8.8-amd64.exe
- 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.
- Download GIT from this link
- Double click on the installer to run it, and follow the steps in the installer.
This step can be skipped for Python 3.7
- Download Microsoft Visual C++ Redistributable.
- Double click on the installer to run it, and follow the steps in the installer.
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.
Note: If you already installed openvino-dev and activated the openvino_env environment, you can skip to Step 6. If you use Anaconda, please see the Conda guide.
python -m venv openvino_envopenvino_env\Scripts\activateNote: Using the --depth=1 option for git clone reduces download size.
git clone --depth=1 https://github.com/openvinotoolkit/openvino_notebooks.git
cd openvino_notebooksThis 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 requirements.txtTo launch a single notebook, like the Monodepth notebook
jupyter notebook notebooks/201-vision-monodepth/201-vision-monodepth.ipynbTo launch all notebooks in Jupyter Lab
jupyter lab notebooksIn Jupyter Lab, select a notebook from the file browser using the left sidebar. Each notebook is located in a subdirectory within the notebooks directory.
-
If you have installed multiple versions of Python, use
py -3.7when 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.
© Copyright 2018-2023, OpenVINO team