title: How do I install lxml in Pycharm?
body: <p>I am relatively new to Python. I am trying to use BeautifulSoup to scrape websites and want to run the code:</p>
  <pre><code>source = requests.get(URLHERE).text
  article = BeautifulSoup(source, &quot;lxml&quot;)
  </code></pre>
  <p>Running the code returns the error message:</p>
  <blockquote>
  <p>bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?</p>
  </blockquote>
  <p>I try to install the package in settings &gt; project interpreter and get the error message</p>
  <blockquote>
  <p>error: Microsoft Visual C++ 14.0 is required. Get it with &quot;Microsoft Visual C++ Build Tools&quot;: <a href="https://visualstudio.microsoft.com/downloads/" rel="nofollow noreferrer">https://visualstudio.microsoft.com/downloads/</a></p>
  </blockquote>
  <p>My Microsoft Visual is up-to-date, and I've re-downloaded it multiple times to make sure. When I run <em>pip install lxml</em> in command prompt, I get:</p>
  <blockquote>
  <p>Requirement already satisfied: lxml in C:\users...</p>
  </blockquote>
  <p>I can't figure out what to do. Any help would be much appreciated.</p>