[PyPy-issue] [issue604] pypy and virtualenv with distribute on Mac OS X

Michael Foord pypy-dev-issue at codespeak.net
Tue Dec 7 18:51:53 CET 2010


New submission from Michael Foord <michael at voidspace.org.uk>:

Using Mac OS X 10.6.5. Tried with the 1.4 release and with the nightly from
2010/12/07. pypy-c-jit-79863-osx64.tar.bz2

virtualenv version 1.5.1

The *apparent* cause is required parts of plat-mac being missing from the pypy
distribution. (Diagnosed by another user on #pypy when I first discovered the
problem.)

Attempting to use virtualenv for pypy and the --distribute option fails. This
prevents me from using tox to test with pypy. (Another user reported the same
problem on the Testing in Python mailing list. When I tried it in Ubuntu it
worked fine.)

$ virtualenv --distribute --no-site-packages -p
~/Downloads/pypy-c-jit-79863-osx64/bin/pypy pypy
Running virtualenv with interpreter /Volumes/Second
Drive/michael/Downloads/pypy-c-jit-79863-osx64/bin/pypy
New pypy-c executable in pypy/bin/pypy
Also creating executable in pypy/bin/pypy-c
Please make sure you remove any previous custom paths from your /Volumes/Second
Drive/michael/.pydistutils.cfg file.
Installing distribute................................done.
  Complete output from command "/Volumes/Second Drive/michael/.../pypy"
"/Volumes/Second Drive/michael/...stall" /Library/Frameworks/Python.fra...ar.gz:
  Traceback (most recent call last):
  File "app_main.py", line 34, in run_toplevel
IOError: [Errno 2] No such file or directory: '/Volumes/Second
Drive/michael/pypy/bin/easy_install'
----------------------------------------
Traceback (most recent call last):
  File "app_main.py", line 34, in run_toplevel
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/virtualenv.py",
line 1647, in <module>
    main()
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/virtualenv.py",
line 558, in main
    prompt=options.prompt)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/virtualenv.py",
line 656, in create_environment
    install_pip(py_executable)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/virtualenv.py",
line 415, in install_pip
    filter_stdout=_filter_setup)
  File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/virtualenv.py",
line 624, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command "/Volumes/Second Drive/michael/.../pypy" "/Volumes/Second
Drive/michael/...stall" /Library/Frameworks/Python.fra...ar.gz failed with error
code 1

----------
effort: ???
messages: 1970
nosy: pypy-issue, voidspace
priority: bug
release: 1.4
status: unread
title: pypy and virtualenv with distribute on Mac OS X

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue604>
_______________________________________________________



More information about the Pypy-issue mailing list