diff --git a/docs/dev/build_linux.md b/docs/dev/build_linux.md index 6abe6d3b7a3..1db2fc62939 100644 --- a/docs/dev/build_linux.md +++ b/docs/dev/build_linux.md @@ -78,7 +78,10 @@ You can use the following additional build options: -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.7m.so \ -DPYTHON_INCLUDE_DIR=/usr/include/python3.7 ``` - 3. To build a wheel package (.whl), enable the `-DENABLE_WHEEL=ON` option in the CMake step above (Step 4): + 3. To build a wheel package (.whl), enable the `-DENABLE_WHEEL=ON` option in the CMake step above (Step 4), and install requirements: + ```sh + pip install -r /src/bindings/python/wheel/requirements-dev.txt + ``` 4. After the build process finishes, export the newly built Python libraries to the user environment variables: ``` export PYTHONPATH=PYTHONPATH:/bin/intel64/Release/python_api/python3.7 diff --git a/docs/dev/build_windows.md b/docs/dev/build_windows.md index f9654486347..89abf3a801c 100644 --- a/docs/dev/build_windows.md +++ b/docs/dev/build_windows.md @@ -75,7 +75,10 @@ Supported configurations: -DPYTHON_LIBRARY="C:\Program Files\Python11\libs\python11.lib" ^ -DPYTHON_INCLUDE_DIR="C:\Program Files\Python11\include" ``` - 3. To build a wheel package (.whl), enable the `-DENABLE_WHEEL=ON` option in the CMake step above (Step 4): + 3. To build a wheel package (.whl), enable the `-DENABLE_WHEEL=ON` option in the CMake step above (Step 4), and install requirements: + ```sh + pip install -r \src\bindings\python\wheel\requirements-dev.txt + ``` 4. After the build process finishes, export the newly built Python libraries to the user environment variables: ``` set PYTHONPATH=/bin//Release/python_api/python3.11;%PYTHONPATH%