Skip to content

AttributeError: type object 'tqdm' has no attribute '_instances' #188

@wernight

Description

@wernight

Running in Jupyter:

for index in tqdm.tnrange(10):
    tqdm.tqdm.write('test')

or just:

tqdm.tqdm.write('test')

Gives error:

/opt/conda/lib/python3.5/site-packages/tqdm/_tqdm.py in write(cls, s, file, end)
    309         # Clear all bars
    310         inst_cleared = []
--> 311         for inst in cls._instances:
    312             # Clear instance if in the target output file
    313             # or if write output + tqdm output are both either

AttributeError: type object 'tqdm' has no attribute '_instances'

Metadata

Metadata

Assignees

Labels

question/docs ‽Documentation clarification candidate

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions