lxml installed but not found in python 3.4 on virtualenv on a AWS EC2 instance
<p>I have installed lxml on my AWS EC2 instance (Amazon Linux AMI), inside my virtualenv:</p>

<pre><code>pip3 install lxml
</code></pre>

<p>and I got the following result:</p>

<pre><code>Collecting lxml
  Using cached lxml-3.6.0.tar.gz
Installing collected packages: lxml
  Running setup.py install for lxml ... done
Successfully installed lxml
</code></pre>

<p>However, lxml appears not to be installed. When I import it in a python 3.4 script:</p>

<pre><code>from lxml import html
</code></pre>

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

<pre><code>ImportError: No module named 'lxml'
</code></pre>

<p>Furthermore, if I run:</p>

<pre><code>pip3 uninstall lxml
</code></pre>

<p>I get</p>

<pre><code>Cannot uninstall requirement lxml, not installed
</code></pre>

<p>What am I doing wrong?</p>