Hi all :wave: I am unable to get pandas==1.3.4 ins...
# general
c
Hi all 👋 I am unable to get pandas==1.3.4 installed. getting error:
Copy code
00:23:21.00 [INFO] Completed: Generate lockfile for python-default
00:23:21.00 [ERROR] 1 Exception encountered:

  ProcessExecutionFailure: Process 'Generate lockfile for python-default' failed with exit code 1.
stdout:

stderr:
pid 26138 -> /Users/avishwakarma/.cache/pants/named_caches/pex_root/venvs/cac1718c056bb509f51fcdcc0c376b33deaaa8ec/07444ef590b1dd2e7c6803e2e9bf769aed6ea919/bin/python -sE /Users/avishwakarma/.cache/pants/named_caches/pex_root/venvs/cac1718c056bb509f51fcdcc0c376b33deaaa8ec/07444ef590b1dd2e7c6803e2e9bf769aed6ea919/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --isolated -q --cache-dir /Users/avishwakarma/.cache/pants/named_caches/pex_root/pip_cache --log /private/var/folders/0t/dmh8ynt13pbc2y2stvb0by6c0000gn/T/pants-sandbox-wm6jpA/.tmp/pex-pip-log.f99pdiq3/pip.log download --dest /private/var/folders/0t/dmh8ynt13pbc2y2stvb0by6c0000gn/T/pants-sandbox-wm6jpA/.tmp/tmpmvf3vkp5/Users.avishwakarma..pyenv.versions.3.7.10.bin.python3.7 pandas==1.3.4 requests==2.26.0 --index-url <https://pypi.org/simple/> --retries 5 --timeout 15 exited with 1 and STDERR:
ERROR: Could not find a version that satisfies the requirement pandas==1.3.4
ERROR: No matching distribution found for pandas==1.3.4
I opened the sandbox and ran with
--preserve-pip-download-log
. this the output of pip. I have
interpreter_constraints = ["CPython==3.7.*"]
set
e
Your interpreter constraints say 3.7.* and that includes 3.7.0. If you look at pandas 1.3.4, it does not support 3.7.0, just >=3.7.1: https://pypi.org/project/pandas/1.3.4/#data
So you'll need to adjust your interpreter constraints to use that version of pandas.
🙏 1
c
ah
thanks!