lovo
December 13th, 2011, 06:22 PM
Hi
I wanted to install several versions of Python on my computer and I made a mistake.
I unzipped the python 2.5 sources, ran ./configure, make, make install.
By doing this, I thought I would install python 2.5 in this folder but it seems that I scratch my other python 2.7. For example, I can't run this line:
>>> from twisted.python.threadpool import ThreadPool
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named twisted.python.threadpool
Where as it was working before. (can somebody confirm ?)
My current python:
$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
I would like to go back to this working version :S
How can I do that?
If you have good links explaining the installation by compiling sources, I would like to read it because Im still unsure the full process.
I wanted to install several versions of Python on my computer and I made a mistake.
I unzipped the python 2.5 sources, ran ./configure, make, make install.
By doing this, I thought I would install python 2.5 in this folder but it seems that I scratch my other python 2.7. For example, I can't run this line:
>>> from twisted.python.threadpool import ThreadPool
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named twisted.python.threadpool
Where as it was working before. (can somebody confirm ?)
My current python:
$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
I would like to go back to this working version :S
How can I do that?
If you have good links explaining the installation by compiling sources, I would like to read it because Im still unsure the full process.