How to install Python 2.7 if I have Python 2.7 in another directory

I have python 2.7 installed in /opt/python2.7. Now I want to install devel packages for him, but could not find it.

How can I install it os, which is included in python2.7, and not by default python2.4

+5
source share
1 answer

Installing Python from source installs development files in the same prefix.

+7
source

All Articles