Buildout fails: AssertionError: Filename ...
jean opened this issue · 2 comments
jean commented
Continuing after #20. I commented out ${buildout:python24-parts}
(I only really need 2.6).
Now buildout fails here:
Installing python-2.6-virtualenv.
Installing python-2.6.
python-2.6: Running '
/var/opt/python/buildout.python/bin/virtualenv-2.6 /var/opt/python/buildout.python/python-2.6'
Traceback (most recent call last):
File "/var/opt/python/buildout.python/parts/virtualenv/virtualenv.py", line 2471, in <module>
main()
File "/var/opt/python/buildout.python/parts/virtualenv/virtualenv.py", line 942, in main
never_download=options.never_download)
File "/var/opt/python/buildout.python/parts/virtualenv/virtualenv.py", line 1043, in create_environment
site_packages=site_packages, clear=clear))
File "/var/opt/python/buildout.python/parts/virtualenv/virtualenv.py", line 1217, in install_python
site_filename_dst = change_prefix(site_filename, home_dir)
File "/var/opt/python/buildout.python/parts/virtualenv/virtualenv.py", line 1134, in change_prefix
(filename, prefixes)
AssertionError: Filename /var/opt/python/buildout.python/parts/buildout/site.py does not start with any of these prefixes: ['/var/opt/python/buildout.python/parts/opt']
python-2.6: Non zero exit code (1) while running command.
While:
Installing python-2.6.
Error: Non zero exit code (1) while running command.
Manually running /var/opt/python/buildout.python/bin/virtualenv-2.6 /var/opt/python/buildout.python/python-2.6
succeeds.