ubuntu 10.04にpython 2.7をインストールしました:
./configure
make
sudo make altinstall
Python は正しく動作します:
~$ python2.7
Python 2.7 (r27:82500, Mar 6 2013, 15:39:19)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
しかし:
~$ virtualenv -p python2.7 ~/virtualenv/python27
Running virtualenv with interpreter /usr/local/bin/python2.7
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/virtualenv.py", line 1378, in <module>
""".decode("base64").decode("zlib")
LookupError: unknown encoding: zlib.
なんてこと?