I installed Python 3.x (besides Python 2.x on Ubuntu) and slowly started to pair modules I use in Python 2.x.
So I wonder, what approach should I take to make my life easy by using pip for both Python 2.x and Python 3.x?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The approach you should take is to install
pipfor Python 3.2.You do this in the following way:
Then, you can install things for Python 3.2 with
pip-3.2, and install things for Python 2-7 withpip-2.7. Thepipcommand will end up pointing to one of these, but I’m not sure which, so you will have to check.