diff --git a/docs/install_guides/installing-openvino-pip.md b/docs/install_guides/installing-openvino-pip.md index dbb7c6cf4cc186..7793fde13bac01 100644 --- a/docs/install_guides/installing-openvino-pip.md +++ b/docs/install_guides/installing-openvino-pip.md @@ -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=/lib:${LD_LIBRARY_PATH} + export LD_LIBRARY_PATH=:${LD_LIBRARY_PATH} ``` - Windows* 10: ```sh - set PATH=/Library/bin;%PATH% + set PATH=;%PATH% ``` + How to find `library_dir`: + - Ubuntu\*, macOS\*: + - standard user: + ```sh + echo $(python3 -m site --user-base)/lib + ``` + - root or sudo user: + ```sh + /usr/local/lib + ``` + - virtual environments or custom Python installations (from sources or tarball): + ```sh + echo $(which python3)/../../lib + ``` + - Windows\*: + - standard Python: + ```sh + python -c "import os, sys; print((os.path.dirname(sys.executable))+'\Library\\bin')" + ``` + - virtual environments or custom Python installations (from sources or tarball): + ```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"