cool-easter-32542
11/01/2023, 2:22 PMtensorflow==2.13 in my python dependencies. I generated a lockfile succesfully and when I try to do pants export to create a virtual environment I am getting following error:
Failed to find a compatible PEX_PYTHON=/Users/zuzanajelinkova/.pyenv/versions/3.9.15/bin/python3.9.
Examined the following interpreters:
1.) /Users/zuzanajelinkova/.pyenv/versions/3.9.15/bin/python3.9 CPython==3.9.15
No interpreter compatible with the requested constraints was found:
Failed to resolve requirements from PEX environment @ /Users/zuzanajelinkova/.cache/pants/named_caches/pex_root/unzipped_pexes/72e2ad14362780be5563a6042d3fffc91f1ee1c5.
Needed cp39-cp39-macosx_13_0_arm64 compatible dependencies for:
1: tensorflow-macos==2.13.0; platform_system == "Darwin" and platform_machine == "arm64"
Required by:
tensorflow 2.13.0
But this pex had no ProjectName(raw='tensorflow-macos', normalized='tensorflow-macos') distributions.
Pants version
2.17.0
OS
MacOS , Ventura 13.1
Additional info
• Installing tensorflow==2.13 using pip is without issue
The only similar issue I've found here is #18936 . If I understand correctly it was an issue of metadata inconsistency of pytorch library.
Thanks in advance for your help!
pantsbuild/pantscool-easter-32542
11/07/2023, 10:22 AM