Giter Club home page Giter Club logo

Comments (4)

KingICCrab avatar KingICCrab commented on August 13, 2024

image
It seems that cm is wrong.

from ck.

gfursin avatar gfursin commented on August 13, 2024

You are using python from the virtual environment, right? Sometimes it gets broken and doesn't include pip.
Can you please run python3 -m pip --version outside CM?
Usually it happens when your native python installation doesn't include pip and then, when you create virtual environment, it still doesn't include pip.
If it's the case, it should be possible to add support in CM to detect such cases and install pip from virtual environment (I think it's done by downloading a specific script to bootstrap pip .
But I would suggest to check your original python installation and install pip via apt install python3-pip as described at https://github.com/mlcommons/ck/blob/master/docs/installation.md#ubuntu-debian .

from ck.

KingICCrab avatar KingICCrab commented on August 13, 2024

Thank you for your consideration.
This problem has been solved by the following steps:
run the command to download the script called get-pip.py: curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
run the script to download pip module: python get-pip.py

from ck.

gfursin avatar gfursin commented on August 13, 2024

Thank you for your feedback @KingICCrab . I will keep this ticket open because, though this case that pip is not installed is rare, it still happens and maybe we can add these 2 commands to CM scripts to install pip if it's not detected ...

from ck.

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.