ImportError: object file libiconv.so.2 missing
<p>I was trying out QuotesSpider example given in docs (page# 5, <a href="https://media.readthedocs.org/pdf/scrapy/1.2/scrapy.pdf" rel="nofollow noreferrer">here</a>), but am having a hard time to get it running. I installed scrapy from conda in the root environment. I am on Ubuntu 14.04, 64 bit machine. As soon as I run the given code snippet with the following command:</p>

<pre><code>$ scrapy runspider quotes_spider.py -o quotes.json
</code></pre>

<p>I get the following error:</p>

<p><code>Traceback (most recent call last):
  File "/home/rip/miniconda2/bin/scrapy", line 4, in &lt;module&gt;
    import scrapy.cmdline
  File "/home/rip/miniconda2/lib/python2.7/site-packages/scrapy/__init__.py", line 34, in &lt;module&gt;
    from scrapy.spiders import Spider
  File "/home/rip/miniconda2/lib/python2.7/site-packages/scrapy/spiders/__init__.py", line 10, in &lt;module&gt;
    from scrapy.http import Request
  File "/home/rip/miniconda2/lib/python2.7/site-packages/scrapy/http/__init__.py", line 11, in &lt;module&gt;
    from scrapy.http.request.form import FormRequest
  File "/home/rip/miniconda2/lib/python2.7/site-packages/scrapy/http/request/form.py", line 9, in &lt;module&gt;
    import lxml.html
  File "/home/rip/miniconda2/lib/python2.7/site-packages/lxml/html/__init__.py", line 54, in &lt;module&gt;
    from .. import etree
ImportError: libiconv.so.2: cannot open shared object file: No such file or directory</code></p>

<p>As apparent, an object file seems to be missing. Do I have to build scrapy from source, or is there an alternative?</p>