collective/buildout.python — Issue #5: Support for bz2 is missing
Author: WouterVH
Created: 2012-03-09 12:29:17+00:00
State: open

I'm trying to use python2.7 built with collective.python to install Kotti in a virtualenv. This fails because the bz2-module cannot be found:

Relevant traceback:

```
Downloading/unpacking pytz (from zope.testbrowser->Kotti)
Downloading pytz-2012b.tar.bz2 (166Kb): 166Kb downloaded
Exception:
Traceback (most recent call last):
File "/opt/dev/kotti/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/opt/dev/kotti/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 245, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/opt/dev/kotti/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 985, in prepare_files
self.unpack_url(url, location, self.is_download)
File "/opt/dev/kotti/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1109, in unpack_url
retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
File "/opt/dev/kotti/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/download.py", line 456, in unpack_http_url
unpack_file(temp_location, location, content_type, link)
File "/opt/dev/kotti/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/util.py", line 494, in unpack_file
untar_file(filename, location)
File "/opt/dev/kotti/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/util.py", line 418, in untar_file
tar = tarfile.open(filename, mode)
File "/opt/python/parts/opt/lib/python2.7/tarfile.py", line 1678, in open
return func(name, filemode, fileobj, **kwargs)
File "/opt/python/parts/opt/lib/python2.7/tarfile.py", line 1744, in bz2open
raise CompressionError("bz2 module is not available")
CompressionError: bz2 module is not available
```