Closed truh closed 1 year ago
@truh This looks like an issue with the machine image, rather than the cimg/python docker image
It is likely an issue with the version of docker in use in the image. The ubuntu-2004:202010-01
image is from 2020 and is therefore pretty old. Using the latest ubuntu-2004:2023.02.1
image works, as demonstrated below:
Please update your machine image version to a newer version and see if this resolves the issue for you.
As this is not an issue with the docker image, I will close this issue. If you experience any further issues with the machine images, please either post on our discuss forum or reach out to support. Thanks!
The pyenv shims in
/home/circleci/.pyenv/shims
providing basic python commands likepip
,virtualenv
, andpython
in the docker imagecimg/python:3.8
(id:cd0773ee5133
) can't be executed in some docker environments.This problem doesn't occur in all docker environments. For me it occurs when running the docker image on the CircleCI machine image
image: ubuntu-2004:202010-01
but it doesn't occur when I try the same on my MacOS Docker Desktop.