-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
question/docs ‽Documentation clarification candidateDocumentation clarification candidatesubmodule-notebook 📓Much web such IDEMuch web such IDE
Description
Just attempted to install 4.32.0 and run in a Jupyter notebook running out of a docker container. Upon the first use (whether it be calling tqdm.pandas() or if this line is commented out and another import method used, the first time it is used in a for-loop), I get the following error:
TypeError Traceback (most recent call last)
<ipython-input-1-ac7677003442> in <module>
7 from tqdm import tqdm_notebook as tqdm
----> 8 tqdm().pandas()
/usr/local/lib/python3.6/dist-packages/tqdm/__init__.py in tqdm_notebook(*args, **kwargs)
23 """See tqdm._tqdm_notebook.tqdm_notebook for full documentation"""
24 from ._tqdm_notebook import tqdm_notebook as _tqdm_notebook
---> 25 return _tqdm_notebook(*args, **kwargs)
26
27
/usr/local/lib/python3.6/dist-packages/tqdm/_tqdm_notebook.py in __init__(self, *args, **kwargs)
211 unit_scale = 1 if self.unit_scale is True else self.unit_scale or 1
212 self.sp = self.status_printer(
--> 213 self.fp, self.total * unit_scale, self.desc, self.ncols)
214 self.desc = None # trick to place description before the bar
215
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
- [ x ] I have visited the source website, and in particular
read the known issues - [ x ] I have searched through the issue tracker for duplicates
- [ x ] I have mentioned version numbers, operating system and
environment, where applicable:import tqdm, sys print(tqdm.__version__, sys.version, sys.platform)
--EDIT--
Error is not present in same code when specifying v4.31.1
Metadata
Metadata
Assignees
Labels
question/docs ‽Documentation clarification candidateDocumentation clarification candidatesubmodule-notebook 📓Much web such IDEMuch web such IDE