[cairo] CompressionError: bz2 module is not available
Kenichi MASUDA
masuken at gmail.com
Fri Jan 13 20:41:36 PST 2012
Hi,
I have a trouble to install pycairo through pip,
but below message appears.
--------------
$ pip install pycairo
(---)
Downloading/unpacking pycairo
Downloading pycairo-1.10.0.tar.bz2 (246Kb): 246Kb downloaded
Exception:
Traceback (most recent call last):
File "/home/username/local/pythonbrew/pythons/Python-2.4/lib/python2.4/site-packages/pip-1.0.2-py2.4.egg/pip/basecommand.py",
line 126, in main
self.run(options, args)
File "/home/username/local/pythonbrew/pythons/Python-2.4/lib/python2.4/site-packages/pip-1.0.2-py2.4.egg/pip/commands/install.py",
line 223, in run
requirement_set.prepare_files(finder,
force_root_egg_info=self.bundle, bundle=self.bundle)
File "/home/username/local/pythonbrew/pythons/Python-2.4/lib/python2.4/site-packages/pip-1.0.2-py2.4.egg/pip/req.py",
line 961, in prepare_files
self.unpack_url(url, location, self.is_download)
File "/home/username/local/pythonbrew/pythons/Python-2.4/lib/python2.4/site-packages/pip-1.0.2-py2.4.egg/pip/req.py",
line 1079, in unpack_url
return unpack_http_url(link, location, self.download_cache, only_download)
File "/home/username/local/pythonbrew/pythons/Python-2.4/lib/python2.4/site-packages/pip-1.0.2-py2.4.egg/pip/download.py",
line 455, in unpack_http_url
unpack_file(temp_location, location, content_type, link)
File "/home/username/local/pythonbrew/pythons/Python-2.4/lib/python2.4/site-packages/pip-1.0.2-py2.4.egg/pip/util.py",
line 475, in unpack_file
untar_file(filename, location)
File "/home/username/local/pythonbrew/pythons/Python-2.4/lib/python2.4/site-packages/pip-1.0.2-py2.4.egg/pip/util.py",
line 410, in untar_file
tar = tarfile.open(filename, mode)
File "/home/username/local/pythonbrew/pythons/Python-2.4/lib/python2.4/tarfile.py",
line 896, in open
return func(name, filemode, fileobj)
File "/home/username/local/pythonbrew/pythons/Python-2.4/lib/python2.4/tarfile.py",
line 985, in bz2open
raise CompressionError, "bz2 module is not available"
CompressionError: bz2 module is not available
--------------
So I tried Python 2.4, 2.7.2 and 3.2 using pythonbrew, but the
situation did not changed...
Is there any ideas for this problem?
masudaK
--
mailto:masuken at gmail.com
More information about the cairo
mailing list