dimones / feedparser

Automatically exported from code.google.com/p/feedparser
Other
0 stars 0 forks source link

Unable to install on Python 3.3 #418

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Downloading/unpacking feedparser (from -r 
/home/christian/documents/projects/rh/requirements.txt (line 45))
  Downloading feedparser-5.1.3.tar.bz2 (202kB): 202kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.3/tarfile.py", line 1656, in bz2open
    import bz2
  File "/usr/local/lib/python3.3/bz2.py", line 21, in <module>
    from _bz2 import BZ2Compressor, BZ2Decompressor
ImportError: No module named '_bz2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/rh/venv/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/basecommand.py", line 134, in main
    status = self.run(options, args)
  File "/opt/rh/venv/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/commands/install.py", line 236, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/opt/rh/venv/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 1092, in prepare_files
    self.unpack_url(url, location, self.is_download)
  File "/opt/rh/venv/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 1238, in unpack_url
    retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
  File "/opt/rh/venv/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/download.py", line 628, in unpack_http_url
    unpack_file(temp_location, location, content_type, link)
  File "/opt/rh/venv/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/util.py", line 598, in unpack_file
    untar_file(filename, location)
  File "/opt/rh/venv/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/util.py", line 521, in untar_file
    tar = tarfile.open(filename, mode)
  File "/usr/local/lib/python3.3/tarfile.py", line 1584, in open
    return func(name, filemode, fileobj, **kwargs)
  File "/usr/local/lib/python3.3/tarfile.py", line 1658, in bz2open
    raise CompressionError("bz2 module is not available")
tarfile.CompressionError: bz2 module is not available

Storing complete log in /home/christian/.pip/pip.log

Original issue reported on code.google.com by christ...@officepools.com on 9 Nov 2013 at 8:54

GoogleCodeExporter commented 9 years ago
It looks like your installation of Python 3.3 does not have a bzip2 module 
compiled (that's the `_bz2` import line just above the ImportError). You'll 
need to manually install feedparser using a different compressed file (like 
gzip) or you'll need to reinstall Python 3.3 with bzip2 support enabled.

Original comment by kurtmckee on 10 Jul 2014 at 2:23