-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI error: pip not installed on 2.7 #19
Comments
There seems to be a PATH issue with regard to interactive vs non-interactive Bash sessions here. Investigating. The Dockerfile itself checks pip before finishing so strange: cimg-python/Dockerfile.template Line 38 in dfe8efa
|
These new images from CircleCI are engineered to have faster spinup times through a smaller footprint and more shared layers with other languages run on CircleCI (means more cache hits!) They also add stability with more deterministic versioning. CI: remove sudo and circleci legacy images replaced more `circleci` with `cimg` alternative. Removed any sudo for affected jobs since those run as root. CI: fix node version CI: pin python docker image for codespell CI:use python 3.6 issue with 2.7 - CircleCI-Public/cimg-python#19
🎉 |
It also doesn't seem to be in root's $PATH, even in an interactive session circleci@78b8e0c69367:~/project$ pip --version
pip 19.2.3 from /home/circleci/.pyenv/versions/3.7.7/lib/python3.7/site-packages/pip (python 3.7)
circleci@78b8e0c69367:~/project$ sudo pip --version
sudo: pip: command not found
circleci@78b8e0c69367:~/project$ sudo su -
root@78b8e0c69367:~# pip --version
-su: pip: command not found
root@78b8e0c69367:~# logout
circleci@78b8e0c69367:~/project$ which pip
/home/circleci/.pyenv/shims/pip pip does work as the circleci user, but was still confusing, especially since Circle's example docs suggest using |
Very odd. Running a
2.7
build locally or on CIrcle fails, python:3.6 seems to work fine.but manually invoking container passes
The text was updated successfully, but these errors were encountered: