Code Monkey home page Code Monkey logo

Comments (3)

felicianotech avatar felicianotech commented on July 3, 2024

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:

pip --version

from cimg-python.

eddiewebb avatar eddiewebb commented on July 3, 2024

🎉

from cimg-python.

wyardley avatar wyardley commented on July 3, 2024

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 sudo pip install pipenv (https://circleci.com/docs/2.0/language-python/#cache-dependencies)

from cimg-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.