RE: Mountain Lion support, traceback on py2.4 and collective.dist
Closed this issue · 2 comments
aclark4life commented
Getting this on Mountain Lion:
running install_scripts
copying build/scripts-2.4/idle -> /Users/aclark/Developer/buildout.python/parts/opt/bin
copying build/scripts-2.4/pydoc -> /Users/aclark/Developer/buildout.python/parts/opt/bin
copying build/scripts-2.4/smtpd.py -> /Users/aclark/Developer/buildout.python/parts/opt/bin
changing mode of /Users/aclark/Developer/buildout.python/parts/opt/bin/idle to 755
changing mode of /Users/aclark/Developer/buildout.python/parts/opt/bin/pydoc to 755
changing mode of /Users/aclark/Developer/buildout.python/parts/opt/bin/smtpd.py to 755
if test -f /Users/aclark/Developer/buildout.python/parts/opt/bin/python -o -h /Users/aclark/Developer/buildout.python/parts/opt/bin/python; \
then rm -f /Users/aclark/Developer/buildout.python/parts/opt/bin/python; \
else true; \
fi
(cd /Users/aclark/Developer/buildout.python/parts/opt/bin; ln python2.4 python)
/usr/bin/install -c -m 644 ./Misc/python.man \
/Users/aclark/Developer/buildout.python/parts/opt/man/man1/python.1
Unused options for python-2.4-build: 'dependencies'.
Installing python-2.4-virtualenv.
Installing python-2.4.
python-2.4: Running '
/Users/aclark/Developer/buildout.python/bin/virtualenv-2.4 /Users/aclark/Developer/buildout.python/python-2.4
/Users/aclark/Developer/buildout.python/python-2.4/bin/easy_install -U collective.dist'
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/Users/aclark/Developer/buildout.python/parts/virtualenv/virtualenv.py", line 2429, in ?
main()
File "/Users/aclark/Developer/buildout.python/parts/virtualenv/virtualenv.py", line 942, in main
never_download=options.never_download)
File "/Users/aclark/Developer/buildout.python/parts/virtualenv/virtualenv.py", line 1043, in create_environment
site_packages=site_packages, clear=clear))
File "/Users/aclark/Developer/buildout.python/parts/virtualenv/virtualenv.py", line 1192, in install_python
import site
File "/Users/aclark/Developer/buildout.python/parts/buildout/site.py", line 158
with f:
^
SyntaxError: invalid syntax
/bin/sh: line 2: /Users/aclark/Developer/buildout.python/python-2.4/bin/easy_install: No such file or directory
python-2.4: Non zero exit code (127) while running command.
While:
Installing python-2.4.
Error: Non zero exit code (127) while running command.
Which looks like a compat issue? I.e. Code with Python 2.5's with statement being run by Python 2.4, not sure why this is happening.
jpgimenez commented
Try bootstraping with bootstrap-1.4.4.py
fschulze commented
bootstrap-1.4.4.py should fix this.