Skip to content

error with python2.5 on Ubuntu 12.04 #12

@hpk42

Description

@hpk42

I am trying to use buildout.python for creating pythons on my Ubuntu 12.04 installation. Python2.4 builds fine but 2.5 fails like this:

Using /home/hpk/p/buildout.python/python-2.4/lib/python2.4/site-packages/PIL-1.1.6-py2.4-linux-x86_64.egg
Processing dependencies for PIL==1.1.6
Finished processing dependencies for PIL==1.1.6
Updating python-2.4-test.
Updating python-2.5-build.
Updating python-2.5-virtualenv.
Installing python-2.5.
python-2.5: Running '
/home/hpk/p/buildout.python/bin/virtualenv-2.5 /home/hpk/p/buildout.python/python-2.5
/home/hpk/p/buildout.python/python-2.5/bin/easy_install -U collective.dist'
New python executable in /home/hpk/p/buildout.python/python-2.5/bin/python2.5
Not overwriting existing python script /home/hpk/p/buildout.python/python-2.5/bin/python (you must use /home/hpk/p/buildout.python/python-2.5/bin/python2.5)
Installing distribute..............
Complete output from command /home/hpk/p/buildout...on-2.5/bin/python2.5 -c "#!python
"""Bootstra... main(sys.argv[1:])
" --always-copy -U distribute:
Traceback (most recent call last):
File "", line 485, in
File "", line 480, in main
File "", line 185, in download_setuptools
File "/home/hpk/p/buildout.python/parts/opt/lib/python2.5/urllib2.py", line 91, in
import hashlib
File "/home/hpk/p/buildout.python/parts/opt/lib/python2.5/hashlib.py", line 135, in
sha224 = __get_builtin_constructor('sha224')
File "/home/hpk/p/buildout.python/parts/opt/lib/python2.5/hashlib.py", line 63, in __get_builtin_constructor
import _sha256

ImportError: No module named _sha256

...Installing distribute...done.
Traceback (most recent call last):
File "/home/hpk/p/buildout.python/parts/virtualenv/virtualenv.py", line 2270, in
main()
File "/home/hpk/p/buildout.python/parts/virtualenv/virtualenv.py", line 928, in main
never_download=options.never_download)
File "/home/hpk/p/buildout.python/parts/virtualenv/virtualenv.py", line 1037, in create_environment
search_dirs=search_dirs, never_download=never_download)
File "/home/hpk/p/buildout.python/parts/virtualenv/virtualenv.py", line 598, in install_distribute
search_dirs=search_dirs, never_download=never_download)
File "/home/hpk/p/buildout.python/parts/virtualenv/virtualenv.py", line 567, in _install_req
cwd=cwd)
File "/home/hpk/p/buildout.python/parts/virtualenv/virtualenv.py", line 1006, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/hpk/p/buildout...on-2.5/bin/python2.5 -c "#!python
"""Bootstra... main(sys.argv[1:])
" --always-copy -U distribute failed with error code 1
/bin/sh: 3: /home/hpk/p/buildout.python/python-2.5/bin/easy_install: not found
python-2.5: Non zero exit code (127) while running command.
While:
Installing python-2.5.
Error: Non zero exit code (127) while running command.
(1)hpk@t2:~/p/buildout.python$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions