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/ --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/", line 1922, in <module>
  File "../../../../../Library/Python/2.7/site-packages/tox/", line 796, in main
  File "../../../../../Library/Python/2.7/site-packages/tox/", line 887, in create_environment
    site_packages=site_packages, clear=clear))
  File "../../../../../Library/Python/2.7/site-packages/tox/", line 1151, in install_python
  File "../../../../../Library/Python/2.7/site-packages/tox/", 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