My server has Python2.5 I wanna be jump to newest Python (2.7.x in my case). I compiled python from source, I downloaded newest virtualenv (1.5.1).
Now basically what im trying to do:
./packages/virtualenv/virtualenv.py --python=packages/Python-2.7/python env/
Typing:
./packages/virtualenv/virtualenv.py
Provides:
1.5.1
While Typing:
packages/Python-2.7/python
Provides:
Python 2.7 (r27:82500, Nov 21 2010, 23:19:15)
[GCC 4.3.2] on linux2
(cut help mesage)
>>>
However runing virutalenv results in:
AssertionError: Filename /packages/Python-2.7/Lib/os.py does not start with any of these prefixes: ['/usr/local']
Whatever it means and whatever I am or I am not doing wrong.
P.S. While building env + python I based at question: How do I work around this problem creating a virtualenv environment with a custom-build Python?