Skip to content

Could not build wheels for cupy #76

@blastilonic

Description

@blastilonic

Hello, I have a problem.

When I run docker build --no-cache -t vsgan_tensorrt:latest .

I have this error:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cupy
Running setup.py clean for cupy
Failed to build cupy
ERROR: Could not build wheels for cupy, which is required to install pyproject.toml-based projects

Part of the code where I have this problem:

RUN git clone https://github.com/cupy/cupy --recursive && cd cupy && git submodule update --init && python3.12 -m pip install . --break-system-packages && \
  MAKEFLAGS="-j$(nproc)" python3.12 setup.py bdist_wheel

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