cách chạy lệnh saucách tạo virtualenv với pypy?
virtualenv -p /usr/local/bin/pypy pypy
thoát với lỗi như
Running virtualenv with interpreter /usr/local/bin/pypy
New pypy executable in pypy/bin/pypy
debug: WARNING: Library path not found, using compiled-in sys.path.
debug: WARNING: 'sys.prefix' will not be set.
debug: WARNING: Make sure the pypy binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
'import site' failed
AttributeError: 'module' object has no attribute 'prefix'
ERROR: The executable pypy/bin/pypy is not functioning
ERROR: It thinks sys.prefix is u'/Users/myname' (should be u'/Users/myname/pypy')
ERROR: virtualenv is not compatible with this system or executable
Tôi đang chạy Mac OS X 10.8.1 (Mountain Lion) với CPython 2.7.3 và cài đặt PyPy 1.9 sử dụng Brew. phiên bản virtualenv là 1.8.4
Sử dụng được xây dựng trước nhị phân PyPy dành cho Mac OS X tải trực tiếp từ trang web của PyPy của không thực hiện bất kỳ sự khác biệt
Tôi gặp lỗi tương tự trên OS X và có cùng phiên bản pypy và virtualenv với bạn (cũng đã cài đặt pypy từ homebrew) – hasen