tqdm: 'module' object is not callable
<p>I import tqdm as this:</p>

<pre><code>import tqdm
</code></pre>

<p>I am using tqdm to show progress in my python3 code, but I have the following error:</p>

<pre><code>Traceback (most recent call last):
  File "process.py", line 15, in &lt;module&gt;
    for dir in tqdm(os.listdir(path), desc = 'dirs'):
TypeError: 'module' object is not callable
</code></pre>

<p>Here is the code:</p>

<pre><code>path = '../dialogs'
dirs = os.listdir(path)

for dir in tqdm(dirs, desc = 'dirs'):
    print(dir)
</code></pre>