<#21644 No such file or directory for .whl files> ...
# github-notifications
c
#21644 No such file or directory for .whl files New discussion created by allcupsnotinprivate I added a .whl file to my repository. The directory for files is in the root and is called
wheelshouse
. When generating lock files, pants identify .whl files in it successfully. But when building pex, an error is returned that the dependency file was not found. pants.toml
Copy code
[python-repos]
indexes = [
    '<https://pypi-proxy.ptsecurity.com>',
]
find_links = ["file://%(buildroot)s/wheelshouse"]
output:
Copy code
16:38:51.92 [ERROR] 1 Exception encountered:

Engine traceback:
  in `package` goal

ProcessExecutionFailure: Process 'Building 37 requirements for ... failed with exit code 1.
stdout:

stderr:
There was 1 error downloading required artifacts:
1. tiktoken 0.7 from file:///Users/<PATH>/wheelshouse/tiktoken-0.7.0-cp312-cp312-linux_x86_64.whl
    [Errno 2] No such file or directory: '/Users/<PATH>/wheelshouse/tiktoken-0.7.0-cp312-cp312-linux_x86_64.whl'

Use `--keep-sandboxes=on_failure` to preserve the process chroot for inspection.
P.S. the correct location of the files is hidden under the PATH pantsbuild/pants