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

Improve pip installation guide #2644

Merged
Changes from 1 commit
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
27 changes: 25 additions & 2 deletions docs/install_guides/installing-openvino-pip.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,35 @@ This guide provides installation steps for the Intel® distribution of OpenVINO
3. Add PATH to environment variables.
- Ubuntu* 18.04 and macOS*:
```sh
export LD_LIBRARY_PATH=<python_dir>/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=<library_dir>:${LD_LIBRARY_PATH}
```
- Windows* 10:
```sh
set PATH=<python_dir>/Library/bin;%PATH%
set PATH=<library_dir>;%PATH%
```
How to find library_dir:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

`library_dir`

- Ubuntu* 18.04 and macOS*:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ubuntu\*, macOS\*

- Standart user:
```sh
echo $(python3 -m site --user-base)/lib
```
- root/sudo:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

root or sudo user

```sh
/usr/local/lib
```
- venv/custom install python:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python

```sh
echo $(which python3)/../../lib
```
- Windows* 10:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows\*

- Standart python:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Python

```sh
python -c "import os, sys; print((os.path.dirname(sys.executable))+'\Library\\bin')"
```
- venv:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same as for lin/mac

```sh
python -c "import os, sys; print((os.path.dirname(sys.executable))+'\..\Library\\bin')"
```
4. Verify that the package is installed:
```sh
python3 -c "import openvino"
Expand Down