From d24a0fbb056725d00238254f3c1abd75adff871f Mon Sep 17 00:00:00 2001 From: Helena Kloosterman Date: Tue, 16 Mar 2021 16:53:36 +0100 Subject: [PATCH] Updated PIP install instructions --- docs/install_guides/pypi-openvino-dev.md | 19 +++++++++++-------- docs/install_guides/pypi-openvino-rt.md | 12 ++++++++---- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/docs/install_guides/pypi-openvino-dev.md b/docs/install_guides/pypi-openvino-dev.md index 9504475f6b6466..3da7e3c1088fd8 100644 --- a/docs/install_guides/pypi-openvino-dev.md +++ b/docs/install_guides/pypi-openvino-dev.md @@ -51,7 +51,11 @@ python -m pip install --user virtualenv python -m venv openvino_env --system-site-packages ``` -Activate virtual environment:
+> **NOTE**: On Linux and macOS, you may need to type `python3` instead of +`python`. You may also need to [install pip](https://pip.pypa.io/en/stable/installing/). + +### Step 2. Activate Virtual Environment + On Linux and macOS: ```sh source openvino_env/bin/activate @@ -61,14 +65,14 @@ On Windows: openvino_env\Scripts\activate ``` -### Step 2. Set Up and Update pip to the Highest Version +### Step 3. Set Up and Update pip to the Highest Version Run the command below: ```sh python -m pip install --upgrade pip ``` -### Step 3. Install the Package +### Step 4. Install the Package Run the command below:
@@ -76,13 +80,13 @@ Run the command below:
pip install openvino-dev ``` -### Step 4. Verify that the Package is Installed +### Step 5. Verify that the Package is Installed -Run the command below: +Run the command below (this may take a few seconds): ```sh -python -c "pot -h" +pot -h ``` - + You will see the help message for Post-Training Optimization Tool if installation finished successfully. ## Additional Resources @@ -90,4 +94,3 @@ You will see the help message for Post-Training Optimization Tool if installatio - Intel® Distribution of OpenVINO™ toolkit home page: [https://software.intel.com/en-us/openvino-toolkit](https://software.intel.com/en-us/openvino-toolkit) - OpenVINO™ toolkit online documentation: [https://docs.openvinotoolkit.org](https://docs.openvinotoolkit.org) - diff --git a/docs/install_guides/pypi-openvino-rt.md b/docs/install_guides/pypi-openvino-rt.md index 1f44344b3e95f6..9b825c8651873a 100644 --- a/docs/install_guides/pypi-openvino-rt.md +++ b/docs/install_guides/pypi-openvino-rt.md @@ -48,7 +48,11 @@ python -m pip install --user virtualenv python -m venv openvino_env --system-site-packages ``` -Activate virtual environment:
+> **NOTE**: On Linux and macOS, you may need to type `python3` instead of +`python`. You may also need to [install pip](https://pip.pypa.io/en/stable/installing/). + +### Step 2. Activate Virtual Environment + On Linux and macOS: ```sh source openvino_env/bin/activate @@ -58,14 +62,14 @@ On Windows: openvino_env\Scripts\activate ``` -### Step 2. Set Up and Update pip to the Highest Version +### Step 3. Set Up and Update pip to the Highest Version Run the command below: ```sh python -m pip install --upgrade pip ``` -### Step 3. Install the Package +### Step 4. Install the Package Run the command below:
@@ -73,7 +77,7 @@ Run the command below:
pip install openvino ``` -### Step 4. Verify that the Package is Installed +### Step 5. Verify that the Package is Installed Run the command below: ```sh