Hi Armin, all (also CC Jannis Leidel), On Sun, May 01, 2011 at 11:36 +0200, Armin Rigo wrote: > Hi, > > If you are using virtualenv, note that PyPy 1.5 requires virtualenv > 1.6.1. It has been released a few hours *after* PyPy 1.5. For those > who did not find it, it's there now :-)
I still encounter a problem with virtualenv/pypy, see transcript on tannit below. it's basically a recursive use of virtualenv which however works nicely with CPython. best, holger (0)hpk@tannit:~$ virtualenv p0 --no-site-packages New python executable in p0/bin/python Installing distribute.................................................................................................................................................................................done. (0)hpk@tannit:~$ p0/bin/pip install virtualenv Downloading/unpacking virtualenv Using download cache from /home/hpk/.tox/downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fv%2Fvirtualenv%2Fvirtualenv-1.6.1.tar.gz Running setup.py egg_info for package virtualenv warning: no previously-included files matching '*.*' found under directory 'docs/_templates' Installing collected packages: virtualenv Running setup.py install for virtualenv warning: no previously-included files matching '*.*' found under directory 'docs/_templates' Installing virtualenv script to /home/hpk/p0/bin Successfully installed virtualenv Cleaning up... (0)hpk@tannit:~$ p0/bin/virtualenv p1 # cpython works fine Using real prefix '/usr' New python executable in p1/bin/python Overwriting p1/lib/python2.6/distutils/__init__.py with new content Installing setuptools............done. Installing pip...............done. (0)hpk@tannit:~$ p0/bin/virtualenv -p pypy p1 # this is pypy-1.5 and it fails Running virtualenv with interpreter /usr/local/bin/pypy New pypy executable in p1/bin/pypy Installing setuptools........ Complete output from command /home/hpk/p1/bin/pypy -c "#!python \"\"\"Bootstra...sys.argv[1:]) " --always-copy -U setuptools: Traceback (most recent call last): File "app_main.py", line 53, in run_toplevel File "app_main.py", line 526, in run_it File "<string>", line 67, in <module> ImportError: No module named md5 ---------------------------------------- ...Installing setuptools...done. Traceback (most recent call last): File "app_main.py", line 53, in run_toplevel File "/home/hpk/p0/lib/python2.6/site-packages/virtualenv.py", line 1965, in <module> main() File "/home/hpk/p0/lib/python2.6/site-packages/virtualenv.py", line 795, in main never_download=options.never_download) File "/home/hpk/p0/lib/python2.6/site-packages/virtualenv.py", line 895, in create_environment search_dirs=search_dirs, never_download=never_download) File "/home/hpk/p0/lib/python2.6/site-packages/virtualenv.py", line 588, in install_setuptools search_dirs=search_dirs, never_download=never_download) File "/home/hpk/p0/lib/python2.6/site-packages/virtualenv.py", line 562, in _install_req cwd=cwd) File "/home/hpk/p0/lib/python2.6/site-packages/virtualenv.py", line 863, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /home/hpk/p1/bin/pypy -c "#!python \"\"\"Bootstra...sys.argv[1:]) " --always-copy -U setuptools failed with error code 1 (0)hpk@tannit:~$ _______________________________________________ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev