[DOCS] Add numpy to installation instructions (#19093)

* add-numpy

* remove

* optional-plus-note

installation of numpy as an optional step
adding note

* Apply suggestions from code review

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
This commit is contained in:
Sebastian Golebiewski 2023-08-10 14:19:23 +02:00 committed by GitHub
parent 97e2f1854d
commit ff51f406ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 57 additions and 7 deletions

View File

@ -125,7 +125,20 @@ See the [Release Notes](https://www.intel.com/content/www/us/en/developer/articl
cd /opt/intel/openvino_2022.3.1
sudo -E ./install_dependencies/install_openvino_dependencies.sh
6. For simplicity, it is useful to create a symbolic link as below:
6. (Optional) Install *numpy* Python Library:
.. note::
This step is required only when you decide to use Python API.
You can use the ``requirements.txt`` file from the ``opt/intel/openvino_2022.3.1/python/python.<x>`` folder:
.. code-block:: sh
cd /opt/intel/openvino_2022.3.1
python3 -m pip install -r ./python/python3.<x>/requirements.txt
7. For simplicity, it is useful to create a symbolic link as below:
.. code-block:: sh

View File

@ -65,7 +65,20 @@ See the [Release Notes](https://www.intel.com/content/www/us/en/developer/articl
tar -xf openvino_2022.3.1.tgz
sudo mv m_openvino_toolkit_macos_11_0_2022.3.1.9227.cf2c7da5689_arm64 /opt/intel/openvino_2022.3.1
5. For simplicity, it is useful to create a symbolic link as below:
5. (Optional) Install *numpy* Python Library:
.. note::
This step is required only when you decide to use Python API.
You can use the ``requirements.txt`` file from the ``opt/intel/openvino_2022.3.1/python/python.<x>`` folder:
.. code-block:: sh
cd /opt/intel/openvino_2022.3.1
python3 -m pip install -r ./python/python3.<x>/requirements.txt
6. For simplicity, it is useful to create a symbolic link as below:
.. code-block:: sh

View File

@ -68,12 +68,23 @@ See the [Release Notes](https://www.intel.com/content/www/us/en/developer/articl
To do this step using command-lines, run the following commands in the command prompt window you opened:
```sh
tar -xf openvino_2022.3.0.zip
ren w_openvino_toolkit_windows_2022.3.0.9052.9752fafe8eb_x86_64 openvino_2022.3.0
move openvino_2022.3.0 "C:\Program Files (x86)\Intel"
tar -xf openvino_2022.3.1.zip
ren w_openvino_toolkit_windows_2022.3.1.9227.cf2c7da5689_x86_64 openvino_2022.3.1
move openvino_2022.3.1 "C:\Program Files (x86)\Intel"
```
4. For simplicity, it is useful to create a symbolic link. Open a command prompt window as administrator (see Step 1 for how to do this) and run the following commands:
6. (Optional) Install *numpy* Python Library:
> **NOTE**: This step is required only when you decide to use Python API.
You can use the ``requirements.txt`` file from the ``C:\Program Files (x86)\Intel\openvino_2022.3.1\python\python.<x>`` folder:
```
cd "C:\Program Files (x86)\Intel\openvino_2022.3.1"
python -m pip install -r .\python\python3.<x>\requirements.txt
```
5. For simplicity, it is useful to create a symbolic link. Open a command prompt window as administrator (see Step 1 for how to do this) and run the following commands:
```sh
cd C:\Program Files (x86)\Intel
mklink /D openvino_2022 openvino_2022.3.0

View File

@ -75,7 +75,20 @@
sudo -E ./install_dependencies/install_openvino_dependencies.sh
6. For simplicity, it is useful to create a symbolic link as below:
6. (Optional) Install *numpy* Python Library:
.. note::
This step is required only when you decide to use Python API.
You can use the ``requirements.txt`` file from the ``opt/intel/openvino_2022.3.1/python/python.<x>`` folder:
.. code-block:: sh
cd /opt/intel/openvino_2022.3.1
pip3 install -r ./python/python3.<x>/requirements.txt
7. For simplicity, it is useful to create a symbolic link as below:
.. code-block:: sh