Python boilerpipe installation issue
<p>I am trying to insatll <a href="https://github.com/misja/python-boilerpipe" rel="nofollow">Python Boilerpipe</a> in my Ubuntu 14. It fails with the following error:</p>

<pre><code> Traceback (most recent call last):
  File "setup.py", line 27, in &lt;module&gt;
    download_jars(datapath=DATAPATH)
  File "setup.py", line 21, in download_jars
    tar = tarfile.open(tgz_name, mode='r:gz')
  File "/usr/lib/python2.7/tarfile.py", line 1678, in open
    return func(name, filemode, fileobj, **kwargs)
  File "/usr/lib/python2.7/tarfile.py", line 1730, in gzopen
    raise ReadError("not a gzip file")
tarfile.ReadError: not a gzip file
</code></pre>

<p>These are the steps I am following:</p>

<ul>
<li>pip install JPype1</li>
<li>pip install charade</li>
<li>git clone
<a href="https://github.com/misja/python-boilerpipe.git" rel="nofollow">https://github.com/misja/python-boilerpipe.git</a></li>
<li>cd python-boilerpipe</li>
<li>sudo python setup.py install</li>
</ul>

<p>Found the issue, so in the setup.py they are looking for boiler-pipe tar file. And they download it from googlecode, which is not there any more.</p>

<pre><code>def download_jars(datapath, version=boilerpipe_version):
    tgz_url = 'https://boilerpipe.googlecode.com/files/boilerpipe-{0}- bin.tar.gz'.format(version)
</code></pre>

<p>So I replaced the same line with the new file location:</p>

<pre><code>tgz_url='https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/boilerpipe/boilerpipe-1.2.0-bin.tar.gz'
</code></pre>

<p>This worked for me.</p>

python ubuntu-14.04 boilerpipe