mshr-h opened a new issue, #17667:
URL: https://github.com/apache/tvm/issues/17667

   It worked fine on older versions of TVM (something like a few weeks ago) but 
it doesn't work for now.
   
   TODOs:
   - [ ] Investigate
   - [ ] Fix
   
   ### Expected behavior
   
   TVM is installed without any error.
   
   ### Actual behavior
   
   ```
   Traceback (most recent call last):
     File "<string>", line 140, in config_cython
   ModuleNotFoundError: No module named 'Cython'
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "<string>", line 14, in <module>
     File 
"/home/ubuntu/.cache/uv/builds-v0/.tmp3yeZdo/lib/python3.11/site-packages/setuptools/build_meta.py",
 line 483, in get_requires_for_build_editable
       return self.get_requires_for_build_wheel(config_settings)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/ubuntu/.cache/uv/builds-v0/.tmp3yeZdo/lib/python3.11/site-packages/setuptools/build_meta.py",
 line 334, in get_requires_for_build_wheel
       return self._get_build_requires(config_settings, requirements=[])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/ubuntu/.cache/uv/builds-v0/.tmp3yeZdo/lib/python3.11/site-packages/setuptools/build_meta.py",
 line 304, in _get_build_requires
       self.run_setup()
     File 
"/home/ubuntu/.cache/uv/builds-v0/.tmp3yeZdo/lib/python3.11/site-packages/setuptools/build_meta.py",
 line 522, in run_setup
       super().run_setup(setup_script=setup_script)
     File 
"/home/ubuntu/.cache/uv/builds-v0/.tmp3yeZdo/lib/python3.11/site-packages/setuptools/build_meta.py",
 line 320, in run_setup
       exec(code, locals())
     File "<string>", line 260, in <module>
     File "<string>", line 181, in config_cython
   RuntimeError: Cython is not installed, please pip install cython
   
   hint: This usually indicates a problem with the package or the build 
environment.
   ```
   
   ### Environment
   
   - OS: Ubuntu 24.04
   - Python 3.11
   - uv 0.6.2
   - TVM@bbd77ace31a379407c48a38e9db6e86736521509
   
   ### Steps to reproduce
   
   ```bash
   mkdir tvm_work
   cd tvm_work
   uv venv --python=3.11
   source .venv/bin/activate
   uv pip install cmake ninja cython setuptools
   git clone --recursive https://github.com/apache/tvm
   cd tvm
   cmake -S . -B build -G Ninja -DUSE_LLVM=llvm-config
   cmake --build build
   uv pip install -e python --config-setting editable-mode=compat
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to