Skip to content

Commit

Permalink
update pypi installation for pypi.org (openvinotoolkit#11907)
Browse files Browse the repository at this point in the history
* update pypi installation for pypi.org

* Update docs/install_guides/pypi-openvino-dev.md

Co-authored-by: Helena Kloosterman <[email protected]>

* Update docs/install_guides/pypi-openvino-rt.md

Co-authored-by: Helena Kloosterman <[email protected]>

* Update docs/install_guides/pypi-openvino-rt.md

Co-authored-by: Helena Kloosterman <[email protected]>

* Update docs/install_guides/pypi-openvino-dev.md

* update

* remove comment

* remove comment

* hide Visual Studio error

* update wording

Co-authored-by: Helena Kloosterman <[email protected]>
  • Loading branch information
xu-yuan1 and helena-intel authored Jun 20, 2022
1 parent 217b39e commit dc6e5c5
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/install_guides/configurations-for-intel-gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This page introduces additional configurations for Intel® Processor Graphics (G

## Linux

Once you have your OpenVINO Runtime installed, follow the steps to be able to work on GPU:
If you have installed OpenVINO Runtime via the installer, APT, or YUM, follow these steps to work with GPU:

1. Go to the install_dependencies directory:
```sh
Expand Down
4 changes: 2 additions & 2 deletions docs/install_guides/installing-openvino-pip.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ For system requirements and troubleshooting, see <https://pypi.org/project/openv

### Step 1. Set Up Python Virtual Environment

To avoid dependency conflicts, use a virtual environment.
Use a virtual environment to avoid dependency conflicts.

Use the following command to create a virtual environment:
To create a virtual environment, use the following command:

@sphinxdirective

Expand Down
19 changes: 12 additions & 7 deletions docs/install_guides/pypi-openvino-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,19 @@ Before you start the installation, check the supported operating systems and req

Use a virtual environment to avoid dependency conflicts.

To create a virtual environment, use the following command:
To create a virtual environment, use the following commands:

On Windows:
```sh
python -m pip install --user virtualenv
python -m venv openvino_env
```

> **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/). For example, on Ubuntu execute the following command to get pip installed: `sudo apt install python3-venv python3-pip`.
On Linux and macOS:
```sh
python3 -m venv openvino_env
```

> **NOTE**: On Linux and macOS, you may need to [install pip](https://pip.pypa.io/en/stable/installing/). For example, on Ubuntu execute the following command to get pip installed: `sudo apt install python3-venv python3-pip`.
### Step 2. Activate Virtual Environment

Expand Down Expand Up @@ -118,7 +123,7 @@ For example, to install and configure the components for working with TensorFlow

## Troubleshooting

For general troubleshooting steps and issues, see [Troubleshooting Guide for OpenVINO Installation](./troubleshooting.md). The following sections also provide explanations to several error messages.
For general troubleshooting steps and issues, see [Troubleshooting Guide for OpenVINO Installation](./troubleshooting.md). The following sections also provide explanations to several error messages.

### zsh: no matches found : openvino-dev[...]

Expand All @@ -141,9 +146,9 @@ To avoid such issues you can also disable globbing for PIP commands by defining
alias pip='noglob pip'
```

### Error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio"
<!--### Error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio"
On Windows* some dependencies may require compilation from source when installing. To resolve this issue, you need to install [Build Tools for Visual Studio* 2019](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019) and repeat package installation.
On Windows* some dependencies may require compilation from source when installing. To resolve this issue, you need to install [Build Tools for Visual Studio* 2019](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019) and repeat package installation.-->

### ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

Expand Down
19 changes: 12 additions & 7 deletions docs/install_guides/pypi-openvino-rt.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,19 @@ Before you start the installation, check the supported operating systems and req

Use a virtual environment to avoid dependency conflicts.

To create a virtual environment, use the following command:
To create a virtual environment, use the following commands:

On Windows:
```sh
python -m pip install --user virtualenv
python -m venv openvino_env
```

> **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/). For example, on Ubuntu execute the following command to get pip installed: `sudo apt install python3-venv python3-pip`.
On Linux and macOS:
```sh
python3 -m venv openvino_env
```

> **NOTE**: On Linux and macOS, you may need to [install pip](https://pip.pypa.io/en/stable/installing/). For example, on Ubuntu execute the following command to get pip installed: `sudo apt install python3-venv python3-pip`.
### Step 2. Activate Virtual Environment

Expand Down Expand Up @@ -71,11 +76,11 @@ If installation was successful, you will not see any error messages (no console

## Troubleshooting

For general troubleshooting steps and issues, see [Troubleshooting Guide for OpenVINO Installation](./troubleshooting.md). The following sections also provide explanations to several error messages.
For general troubleshooting steps and issues, see [Troubleshooting Guide for OpenVINO Installation](./troubleshooting.md). The following sections also provide explanations to several error messages.

### Error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio"
<!--### Error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio"
On Windows* some dependencies may require compilation from source when installing. To resolve this issue, you need to install [Build Tools for Visual Studio* 2019](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019) and repeat package installation.
On Windows* some dependencies may require compilation from source when installing. To resolve this issue, you need to install [Build Tools for Visual Studio* 2019](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019) and repeat package installation.-->

### ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

Expand Down

0 comments on commit dc6e5c5

Please sign in to comment.