update pypi installation for pypi.org (#11907)
* update pypi installation for pypi.org * Update docs/install_guides/pypi-openvino-dev.md Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com> * Update docs/install_guides/pypi-openvino-rt.md Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com> * Update docs/install_guides/pypi-openvino-rt.md Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com> * Update docs/install_guides/pypi-openvino-dev.md * update * remove comment * remove comment * hide Visual Studio error * update wording Co-authored-by: Helena Kloosterman <helena.kloosterman@intel.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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[...]
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user