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スクリプトは表示されません。)