You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched open reports and couldn't find a duplicate
What happened?
We have a legacy system that is still running Python2 and the CI build system recently started failing due to the following error when it picked up a new docker image with Conda 23.10.
Pip subprocess error:
/opt/conda/envs/national/bin/python: No module named pip
Installing pip dependencies: ...working... Ran pip subprocess with arguments:
['/opt/conda/envs/national/bin/python', '-m', 'pip', 'install', '-U', '-r', '/opt/atlassian/pipelines/agent/build/condaenv.3ycmalfz.requirements.txt', '--exists-action=b']
Pip subprocess output:
failed
CondaEnvException: Pip failed
You are asking for 2.7.18 but conda-forge only has up to 2.7.15, hence the solver is forced to pick from defaults, which creates the incompatibility I'd guess.
Try to use only defaults, or only conda-forge, or pick python=2.7 so the solver has some more leeway.
Checklist
What happened?
We have a legacy system that is still running Python2 and the CI build system recently started failing due to the following error when it picked up a new docker image with Conda 23.10.
We can replicate with a minimal
test.yml
and
Dockerfile
:I then noticed in the release notes for Conda 23.10 that this solver was now default so testing again with classic solver there was no issue.
I didn't see anything specifically mentioning that this solver does not support Python2
Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: