-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
- Affected Users: Researcher
- Is revenue impacted: No
- Urgency: Medium
Description of Bug
Installation failed in RHEL 8.9
What should the expected behavior be
Successful pip install
Steps to Reproduce
$ uv pip install .
Using Python 3.11.5 environment at: testenv
Resolved 111 packages in 1.53s
× Failed to build `causal-conv1d==1.4.0`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/lib64/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 "/lib64/python3.11/site-packages/setuptools/build_meta.py",
line 304, in _get_build_requires
self.run_setup()
File "/lib64/python3.11/site-packages/setuptools/build_meta.py",
line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/lib64/python3.11/site-packages/setuptools/build_meta.py",
line 320, in run_setup
exec(code, locals())
File "<string>", line 20, in <module>
ModuleNotFoundError: No module named 'torch'
hint: This error likely indicates that `causal-conv1d@1.4.0` depends on `torch`, but doesn't declare
it as a build dependency. If `causal-conv1d` is a first-party package, consider adding `torch` to
its `build-system.requires`. Otherwise, `uv pip install torch` into the environment and re-run with
`--no-build-isolation`.
help: `causal-conv1d` (v1.4.0) was included because `brokenhill` (v0.38.0) depends on `causal-conv1d`
Additional context
Tried to install causal-conv1d==1.4.0 alone (even install torch first and then install with --no-build-isolation) but failed the same error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels