skip to Main Content

I am using CentOS. It has Python 3.6 version installed.

From command line if I try to execute PIP, I get error: “Command not found”

How to add Python folder to the environment path?

2

Answers


  1. Apparently you should install pip separately in CentOS.
    Try this Link.

    Login or Signup to reply.
  2. Pip is not available in CentOS 7 core repositories. To install pip we need to enable the EPEL repository:

    sudo yum install epel-release
    

    Once the EPEL repository is enabled we can install pip and all of its dependencies with the following command:

    sudo yum install python-pip
    

    To verify that the pip is installed correctly run the following command which will print the pip version:

    pip --version
    

    Enjoy! 🙂

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search