title: Why is the error "Cannot use HTMLSession within an existing event loop. Use AsyncHTMLSession instead"?
body: <p>I'm running the code provided by @Dan-Dev in his <a href="https://stackoverflow.com/a/63541958/7357673">answer</a>.</p>
  <pre><code>from requests_html import HTMLSession
  
  url = 'https://www.thefreedictionary.com/love'
  session = HTMLSession()
  r = session.get(url)
  r.html.render()
  lang_bar = r.html.find('#LangBar', first=True)
  print(lang_bar.html)
  </code></pre>
  <p>and the result is</p>
  <pre><code>---------------------------------------------------------------------------
  RuntimeError                              Traceback (most recent call last)
  &lt;ipython-input-2-ec1d9137b197&gt; in &lt;module&gt;
        8 
        9 resp = session.get(url, headers = headers)
  ---&gt; 10 resp.html.render()
       11 
       12 soup = bs(resp.html.html, &quot;lxml&quot;)
  
  C:\Anaconda3\lib\site-packages\requests_html.py in render(self, retries, script, wait, scrolldown, sleep, reload, timeout, keep_page)
      584         &quot;&quot;&quot;
      585 
  --&gt; 586         self.browser = self.session.browser  # Automatically create a event loop and browser
      587         content = None
      588 
  
  C:\Anaconda3\lib\site-packages\requests_html.py in browser(self)
      727             self.loop = asyncio.get_event_loop()
      728             if self.loop.is_running():
  --&gt; 729                 raise RuntimeError(&quot;Cannot use HTMLSession within an existing event loop. Use AsyncHTMLSession instead.&quot;)
      730             self._browser = self.loop.run_until_complete(super().browser)
      731         return self._browser
  
  RuntimeError: Cannot use HTMLSession within an existing event loop. Use AsyncHTMLSession instead.
  </code></pre>
  <p>Clearly, the code runs fine in Dan-Dev's computer. Could you please explain why my laptop returns an error <code>Cannot use HTMLSession within an existing event loop. Use AsyncHTMLSession instead</code>?</p>