-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
- Ubuntu* 18.04 and macOS*: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
- Standart user: | ||
aalborov marked this conversation as resolved.
Show resolved
Hide resolved
|
||
```sh | ||
echo $(python3 -m site --user-base)/lib | ||
``` | ||
- root/sudo: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
```sh | ||
/usr/local/lib | ||
``` | ||
- venv/custom install python: | ||
mryzhov marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
```sh | ||
echo $(which python3)/../../lib | ||
``` | ||
- Windows* 10: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
- Standart python: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
```sh | ||
python -c "import os, sys; print((os.path.dirname(sys.executable))+'\Library\\bin')" | ||
``` | ||
- venv: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.