File tree Expand file tree Collapse file tree
docs/articles_en/get-started/install-openvino Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,11 @@ Troubleshooting Guide for OpenVINO™ Installation & Configuration
3838
3939.. dropdown :: ``pip install --no-binary openvino openvino`` fails
4040
41+ .. note ::
42+
43+ Source distribution (sdist) installation is experimental. For most users, the
44+ recommended path is ``pip install openvino `` (prebuilt wheel).
45+
4146 Installation from source distribution requires local build tools and Python build dependencies.
4247 Before retrying installation, update your packaging tools:
4348
Original file line number Diff line number Diff line change @@ -92,14 +92,16 @@ Use the following command to install either the base or GenAI OpenVINO package:
9292
9393 If you want to install from source distribution (sdist), use the following command:
9494
95- .. code-block :: python
95+ .. code-block :: sh
9696
9797 python -m pip install --no-binary openvino openvino
9898
9999 .. note ::
100100
101- Installing from source distribution requires build tools and may take more time
102- than wheel-based installation.
101+ Installing from source distribution is experimental (PoC) and requires a full
102+ native build toolchain (C/C++ compiler, CMake, Python headers). It may take
103+ significantly more time than wheel-based installation. For most users, the
104+ prebuilt wheel installation shown above is the recommended option.
103105
104106Step 5. Verify that the Package Is Installed
105107++++++++++++++++++++++++++++++++++++++++++++
Original file line number Diff line number Diff line change 4949OPENVINO_SOURCE_DIR = os .getenv ("OPENVINO_SOURCE_DIR" , SCRIPT_DIR )
5050OPENVINO_BINARY_DIR = os .getenv ("OPENVINO_BINARY_DIR" , f'{ OPENVINO_SOURCE_DIR } /build_wheel' )
5151OPENVINO_PYTHON_BINARY_DIR = os .getenv ("OPENVINO_PYTHON_BINARY_DIR" , "python_build" )
52- SDIST_BUILD = "sdist" in sys .argv
52+ # Detect sdist context: either we are running `setup.py sdist` to create the archive,
53+ # or we are building from an unpacked sdist (PKG-INFO is generated by sdist)
54+ SDIST_BUILD = "sdist" in sys .argv or (SCRIPT_DIR / "PKG-INFO" ).is_file ()
5355CONFIG = os .getenv ("BUILD_TYPE" , "Release" )
5456OV_RUNTIME_LIBS_DIR = os .getenv ("OV_RUNTIME_LIBS_DIR" , f"runtime/{ LIBS_DIR } /{ ARCH } " )
5557TBB_LIBS_DIR = os .getenv ("TBB_LIBS_DIR" , f"runtime/3rdparty/tbb/{ LIBS_DIR } " )
You can’t perform that action at this time.
0 commit comments