10
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

tqdm - TypeError: 'module' object is not callable

Last updated at Posted at 2021-01-27

tqdmを使おうとしたときに

TypeError: 'module' object is not callable

と出てしまった時の問題点と対処法。

問題点

tqdmはモジュールだから関数として呼べない。

対処法

from tqdm import tqdm

とするか、

import tqdm
for _ in tqdm.tqdm(iterator):

とすべし!

参考

10
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?