I have two version of python.
I would like to install psycopg2 for python2.5
How can I run sudo apt-get install python-psycopg2 so it installs it for python2.5 and not python2.6 ?
Thanks
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 ubuntu-10.04 package
python-psycopg2is designed to work with the default python2.6 installation.To install psycopg2 for python2.5, download the psycopg source and use
to install it. (Note the call to
python2.5).