Update README for PIP install with correct validation command and note about python/python3 (#4791)
This commit is contained in:
parent
713709b478
commit
8ad8b6b9b3
@ -51,7 +51,11 @@ python -m pip install --user virtualenv
|
||||
python -m venv openvino_env --system-site-packages
|
||||
```
|
||||
|
||||
Activate virtual environment:<br>
|
||||
> **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: <br>
|
||||
|
||||
@ -76,13 +80,13 @@ Run the command below: <br>
|
||||
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)
|
||||
|
||||
|
||||
|
@ -48,7 +48,11 @@ python -m pip install --user virtualenv
|
||||
python -m venv openvino_env --system-site-packages
|
||||
```
|
||||
|
||||
Activate virtual environment:<br>
|
||||
> **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: <br>
|
||||
|
||||
@ -73,7 +77,7 @@ Run the command below: <br>
|
||||
pip install openvino
|
||||
```
|
||||
|
||||
### Step 4. Verify that the Package is Installed
|
||||
### Step 5. Verify that the Package is Installed
|
||||
|
||||
Run the command below:
|
||||
```sh
|
||||
|
Loading…
Reference in New Issue
Block a user