Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 18772  / 2 Years ago, wed, february 2, 2022, 9:39:09

The default python version on my ubuntu system is 2.7, but 2.6 is still present.



I've installed headers (apt-get install python-dev), since it's needed to compile and install python packages, for current version.



However, some of my projects still run on a 2.6 virtual python environment. For them, I cannot install eggs and packages since, among others, Python.h is missing. Do I need to install an older version of python-dev? How to do so?


More From » apt

 Answers
1

Try installing python2.6 and python2.6-dev.


[#43653] Thursday, February 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
epypian

Total Points: 130
Total Questions: 111
Total Answers: 113

Location: Romania
Member since Mon, Jun 6, 2022
2 Years ago
epypian questions
Sat, Jul 31, 21, 18:35, 3 Years ago
Sun, Oct 24, 21, 23:28, 3 Years ago
Sun, Dec 26, 21, 12:08, 2 Years ago
Tue, May 9, 23, 21:23, 1 Year ago
;