Skip to content

[Bug] Installation process incorrect/not working #18388

@michaelwcl

Description

@michaelwcl

Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking. You are always welcomed to post on the forum first 😸

Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.

Expected behavior

A successful install via pip and being able to use the tvm package.

Actual behavior

Build process seems to finish but with a lot of warnings, and tvm-ffi cannot be installed from /path/to/tvm/build/3rdparty/tvm-ffi via pip.
Error: "ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found."

As a sidenote, I've tried 0.21 and 0.22 as well, which I downloaded as tarballs from the github releases. It seems like the build from source process documented on the website no loner applies to those older versions.

Environment

Ubuntu 24.04, tvm version is the latest (cloned the repo on Oct 23, 2025).

Steps to reproduce

Follow the instructions on https://tvm.apache.org/docs/install/from_source.html

Triage

Please refer to the list of label tags here to find the relevant tags and add them below in a bullet format (example below).

  • needs-triage

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triagePRs or issues that need to be investigated by maintainers to find the right assignees to address ittype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions