Skip to content

pip install failed at causal-conv1d #12

@subbyte

Description

@subbyte
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions