Running tox on OS X lion fails with this error for python 2.x

Issue #12 on hold
Gora Khargosh created an issue

Running tox on Mac OS X Lion causes this error.

{{{ #!shell

$ cat .tox/py27/log/0.log 
/Volumes/data/Projects/mom/.tox$ /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 ../../../../../Library/Python/2.7/site-packages/tox/virtualenv.py --distribute --no-site-packages py27 >py27/log/0.log
install_name_tool: for architecture cputype (16777223) cpusubtype (-2147483645) object: py27/bin/python malformed object (unknown load command 4)
New python executable in py27/bin/python
Could not call install_name_tool -- you must have Apple's development tools installed
Traceback (most recent call last):
  File "../../../../../Library/Python/2.7/site-packages/tox/virtualenv.py", line 1922, in <module>
    main()
  File "../../../../../Library/Python/2.7/site-packages/tox/virtualenv.py", line 796, in main
    never_download=options.never_download)
  File "../../../../../Library/Python/2.7/site-packages/tox/virtualenv.py", line 887, in create_environment
    site_packages=site_packages, clear=clear))
  File "../../../../../Library/Python/2.7/site-packages/tox/virtualenv.py", line 1151, in install_python
    py_executable])
  File "../../../../../Library/Python/2.7/site-packages/tox/virtualenv.py", line 864, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command install_name_tool -change /System/Library/Fram.../Versions/2.7/Python @executable_path/../.Python py27/bin/python failed with error code 1

}}}

Comments (3)

  1. Log in to comment