Skip to content

Installation error : "Protobuf compiler not found" #134

@xurei

Description

@xurei

There is a missing step in the install process in the README.

...
      -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.12.so (found version "3.12.7")
      Generated: /tmp/pip-install-ona22hsx/onnx_89c6a67bcba64053a39666433b6cab5d/.setuptools-cmake-build/onnx/onnx-ml.proto
      CMake Error at CMakeLists.txt:303 (message):
        Protobuf compiler not found
      Call Stack (most recent call first):
        CMakeLists.txt:334 (relative_protobuf_generate_cpp)
...

To solve this, I used sudo apt install protobuf-compiler on Ubuntu 24.10.

Hope this will help someone until the README is fixed.

I still have issues installing it during the linking process of onnx. If I find the cause, I'll create another issue for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions