<#19505 Dependency resolution failure in Docker en...
# github-notifications
c
#19505 Dependency resolution failure in Docker environment when implementing a feature using whisper Issue created by peachanG Describe the bug I'm trying to use Pantsbuild to create a Docker image and run it. However, I'm encountering an issue where the build process fails with the error message:
Copy code
Failed to find compatible interpreter on path /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin.

Examined the following interpreters:
1.) /usr/local/bin/python3.8 CPython==3.8.17

No interpreter compatible with the requested constraints was found:

  Failed to resolve requirements from PEX environment @ /root/.pex/unzipped_pexes/f6c1891680a625cd0fee31d9e831bb4666c6a0ab.
  Needed cp38-cp38-manylinux_2_31_aarch64 compatible dependencies for:
   1: triton==2.0.0
      Required by:
        openai-whisper 20230314
      But this pex had no ProjectName(raw='triton', normalized='triton') distributions.
   2: numba
      Required by:
        openai-whisper 20230314
      But this pex had no ProjectName(raw='numba', normalized='numba') distributions.
   3: numpy
      Required by:
        openai-whisper 20230314
      But this pex had no ProjectName(raw='numpy', normalized='numpy') distributions.
   4: torch
      Required by:
        openai-whisper 20230314
      But this pex had no ProjectName(raw='torch', normalized='torch') distributions.
   5: tiktoken==0.3.1
      Required by:
        openai-whisper 20230314
      But this pex had no ProjectName(raw='tiktoken', normalized='tiktoken') distributions.
It appears that Pants is unable to resolve the necessary dependencies within the Docker environment. Pants version 2.16.0 OS Macos 13.4.1 Additional info I've created a minimal reproducible example of the issue. You can find the repository here: https://github.com/peachanG/pants-sample/tree/whisper pantsbuild/pants