Estou tentando construir um virtualenv Pinax. Eu recebo, no Precise Penguin com 0.7:
jonathan@ubuntu:~/Downloads/Pinax-0.7-bundle/scripts$ ./pinax-boot.py ~/virtual
New python executable in /home/jonathan/virtual/bin/python
Traceback (most recent call last):
File "/home/jonathan/virtual/lib/python2.7/site.py", line 67, in <module>
import os
File "/home/jonathan/virtual/lib/python2.7/os.py", line 49, in <module>
import posixpath as path
File "/home/jonathan/virtual/lib/python2.7/posixpath.py", line 17, in <module>
import warnings
ImportError: No module named warnings
ERROR: The executable /home/jonathan/virtual/bin/python is not functioning
ERROR: It thinks sys.prefix is '/home/jonathan/Downloads/Pinax-0.7-bundle/scripts' (should be '/home/jonathan/virtual')
ERROR: virtualenv is not compatible with this system or executable
- EDITAR
Existe um erro semelhante, mas diferente, sob o 0.7.3:
New python executable in /home/jonathan/v/bin/python
Traceback (most recent call last):
File "/home/jonathan/v/lib/python2.7/site.py", line 67, in <module>
import os
File "/home/jonathan/v/lib/python2.7/os.py", line 398, in <module>
import UserDict
File "/home/jonathan/v/lib/python2.7/UserDict.py", line 83, in <module>
import _abcoll
File "/home/jonathan/v/lib/python2.7/_abcoll.py", line 11, in <module>
from abc import ABCMeta, abstractmethod
File "/home/jonathan/v/lib/python2.7/abc.py", line 8, in <module>
from _weakrefset import WeakSet
ImportError: No module named _weakrefset
ERROR: The executable /home/jonathan/v/bin/python is not functioning
ERROR: It thinks sys.prefix is '/home/jonathan/Pinax-0.7.3-bundle/scripts' (should be '/home/jonathan/v')
ERROR: virtualenv is not compatible with this system or executable
- EDITAR
Como devo estar criando ambientes virtuais, ou o que eu deveria estar fazendo, sob 0.9a2 comparado a 0.7? (Eu não vejo 0.9a2 fornecendo um script pinax-boot.py.)