我可以通过virtualenv/virtualenvwrapper使用其他python实现吗?

我可以通过virtualenv/virtualenvwrapper使用其他python实现吗?,python,python-2.7,virtualenv,pypy,virtualenvwrapper,Python,Python 2.7,Virtualenv,Pypy,Virtualenvwrapper,经过一段时间的搜索(也许这还不够,但我认为我在这方面没有取得进展),我还没有在virtualenv/virtualenvwrapper中找到关于其他Python实现兼容性的信息。 我所说的“其他实现”是指PyPy、IronPython、Cython、Jython 例如,我可以使用以下代码为不同的python版本创建virtualenv mkvirtualenv-p/usr/bin/python2.6新版本 但当我试图通过以下方式为PyPy创建virtualenv时: mkvirtualenv-p

经过一段时间的搜索(也许这还不够,但我认为我在这方面没有取得进展),我还没有在virtualenv/virtualenvwrapper中找到关于其他Python实现兼容性的信息。 我所说的“其他实现”是指PyPy、IronPython、Cython、Jython

例如,我可以使用以下代码为不同的python版本创建virtualenv

mkvirtualenv-p/usr/bin/python2.6新版本

但当我试图通过以下方式为PyPy创建virtualenv时:

mkvirtualenv-p/usr/bin/pypy new\u venv

系统抛出了一些错误

编辑: 我用的是虚拟说唱歌手win。它抛出

Running virtualenv with interpreter C:\pypy2-v5.8.0-win32\pypy.exe
New pypy executable in C:\Users\fangming.zfm\Envs\test-123\bin\pypy.exe
Installing setuptools, pip, wheel...done.
system cannot find the path specified.
system cannot find the path specified.
system cannot find the path specified.
为什么我们不能这样做?是因为缺乏兴趣,还是技术上不可行?

对我来说很有效:

$ mktmpenv -p pypy
Running virtualenv with interpreter /usr/bin/pypy
New pypy executable in /home/phd/.virtualenvs/tmp-b29122e40f353f03/bin/pypy
Installing setuptools, pip, wheel...done.
virtualenvwrapper.user_scripts creating /home/phd/.virtualenvs/tmp-b29122e40f353f03/bin/predeactivate
virtualenvwrapper.user_scripts creating /home/phd/.virtualenvs/tmp-b29122e40f353f03/bin/postdeactivate
virtualenvwrapper.user_scripts creating /home/phd/.virtualenvs/tmp-b29122e40f353f03/bin/preactivate
virtualenvwrapper.user_scripts creating /home/phd/.virtualenvs/tmp-b29122e40f353f03/bin/postactivate
virtualenvwrapper.user_scripts creating /home/phd/.virtualenvs/tmp-b29122e40f353f03/bin/get_env_details
This is a temporary environment. It will be deleted when you run 'deactivate'

$ python --version
Python 2.7.8 (2.4.0+dfsg-3, Dec 20 2014, 13:30:11)
[PyPy 2.4.0 with GCC 4.9.2]

您的错误到底是什么?

问题是由于
pypypy.exe
位于
/bin/
目录下,而不是
Scripts
目录(如virtualenvwrapper win所期望的那样)


它有一个问题(),修复起来应该相对简单。

有什么错误?您是否在virtual env之外安装了安装工具、pip和轮子包以及pypy?@phd,根据我看到的情况,我使用
pypy-m ensurepip
安装了pip,但它似乎仍然无法解决我的“系统找不到指定的路径”问题问题。请尝试
pypy-m pip安装-U setuptools pip wheel
@phd,它仍然是相同的错误,现在我想知道是否可以更深入地挖掘该错误消息。