我如何满足“警告”Pinax 要求?

我如何满足“警告”Pinax 要求?

我正在尝试构建 Pinax virtualenv。我在 Precise Penguin 上得到 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

- 编辑 -

在 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

- 编辑 -

与 0.7 相比,在 0.9a2 下我应该如何创建虚拟环境,或者我应该做什么? (我没有看到 0.9a2 提供 pinax-boot.py 脚本。)

相关内容