Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated PIP install instructions #4821

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions docs/install_guides/pypi-openvino-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -61,33 +65,32 @@ 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>

```sh
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

- 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)


12 changes: 8 additions & 4 deletions docs/install_guides/pypi-openvino-rt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -58,22 +62,22 @@ 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>

```sh
pip install openvino
```

### Step 4. Verify that the Package is Installed
### Step 5. Verify that the Package is Installed

Run the command below:
```sh
Expand Down