model_server icon indicating copy to clipboard operation
model_server copied to clipboard

installing the ovms binary deployment on Ubuntu 24.04

Open ligjn opened this issue 4 months ago • 4 comments

The installation steps in the official documentation are as follows: Image

There is a problem here: the Python installed via apt is global, which will affect the machine's original Python environment. Ideally, shouldn't the OVMS installation package include its own Python environment, just like the Windows version, so that it doesn't affect the machine's own environment?

At the same time, on a clean Ubuntu 24.04 machine, it is impossible to complete the installation by following the official documentation exactly.

Image

I understand that it might be necessary to add the --break-system-packages parameter, but this seems unreasonable.

Could you provide a self-contained Python environment similar to the Windows version?

ligjn avatar Aug 25 '25 06:08 ligjn

This is good idea, we will consider adding it

dkalinowski avatar Aug 26 '25 07:08 dkalinowski

#3613
Although this fix has completed the built-in integration of some Python packages for OpenVINO, it still uses the system-wide Python on Linux. It is still expected to provide a ready-to-use Python environment similar to that on the Windows system. This way, there will be no need to use the system-wide pip to install additional dependency packages (which can conflict with the existing Python environment).

The installation package I use:https://storage.openvinotoolkit.org/repositories/openvino_model_server/packages/weekly/2025.4.0.4236db5e/

ligjn avatar Nov 11 '25 10:11 ligjn

At the same time, could you also provide the package for the ubuntu22 version?

ligjn avatar Nov 11 '25 11:11 ligjn

As for the binary package for ubuntu22, @dtrawins could you comment on that?

Regarding including Python in Linux packages - it is not planned. There are no official embeddable Python releases for Linux (as we have for Windows). If we were to distribute OVMS for Linux with Python, we would need to have such official embeddable Python available. We want to avoid building Python ourselves or using some unofficial source for security reasons.

mzegla avatar Nov 12 '25 13:11 mzegla