Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I tried to install pip and easy_install on my CentOS but could not find them.

How can I install them?

Also, I have two versions of Python, 2.4 and 2.7. How will pip make sure to link newly installed components with Python 2.7?

share|improve this question

2 Answers

up vote 6 down vote accepted

It was simple. The path of pip is:

/opt/python2.7/bin/pip

If it's not there then install using:

/opt/python2.7/bin/easy_install pip

and it will install it.

share|improve this answer

Any packages in the repos will be built for 2.4. You will need to install them from source with 2.7.

python2.7 setup.py install
share|improve this answer
I found easy_install in /opt/python2.7/bin/easy_install but could not find pip. where it will be located – Moorage Jun 3 '11 at 5:42
I don't know anything about virtenv . is pip only insytalled if i use virtenv. i read the document but could not found the path of pip where its binary file is – Moorage Jun 3 '11 at 6:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.