title: tqdm NameError: global name 'HTML' is not defined
body: <p>I'm learning to use <a href="https://pypi.python.org/pypi/tqdm" rel="nofollow noreferrer">tqdm</a>. I made a very simple test case but met with <code>NameError</code>. The test case is as follows:</p>
  
  <pre><code>from tqdm import tqdm_notebook
  
  num = 100
  bar = tqdm_notebook(total=num)
  </code></pre>
  
  <p>The file name is <code>b.py</code> and I run:</p>
  
  <pre><code>python b.py
  </code></pre>
  
  <p>The error happened and the error message is:</p>
  
  <pre><code>Traceback (most recent call last):
    File "b.py", line 4, in &lt;module&gt;
      bar = tqdm_notebook(total=num)
    File "/usr/local/lib/python2.7/dist-packages/tqdm/__init__.py", line 19, in tqdm_notebook
      return _tqdm_notebook(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/tqdm/_tqdm_notebook.py", line 183, in __init__
      self.sp = self.status_printer(self.fp, self.total, self.desc)
    File "/usr/local/lib/python2.7/dist-packages/tqdm/_tqdm_notebook.py", line 104, in status_printer
      ptext = HTML()
  NameError: global name 'HTML' is not defined
  </code></pre>
  
  <p>I thought it was because I did not install a package named <code>HTML</code>, so that I run </p>
  
  <p><code>sudo pip install HTML</code> </p>
  
  <p>It did installed an <code>HTML</code> package. But the error remained the same when I run the test case again.</p>
  
  <p>What's wrong with this example? Did I miss other packages? Thank you all for helping me!</p>