Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tqdm.auto doesn't exist in all versions of tqdm #287

Closed
ctb opened this issue Jan 20, 2019 · 5 comments

Comments

@ctb
Copy link
Contributor

commented Jan 20, 2019

I had to upgrade from tqdm 4.19.4 to tqdm 4.29.1 to use papermill -- maybe add a minimum version string in requirements?

% papermill try_params.ipynb out.ipynb -p a 2 -p b 6
Traceback (most recent call last):
  File "/Users/t/dev/py36/bin/papermill", line 7, in <module>
    from papermill.cli import papermill
  File "/Users/t/dev/py36/lib/python3.6/site-packages/papermill/__init__.py", line 10, in <module>
    from .execute import execute_notebook
  File "/Users/t/dev/py36/lib/python3.6/site-packages/papermill/execute.py", line 13, in <module>
    from .engines import papermill_engines
  File "/Users/t/dev/py36/lib/python3.6/site-packages/papermill/engines.py", line 16, in <module>
    from tqdm.auto import tqdm
ModuleNotFoundError: No module named 'tqdm.auto'
% pip install tqdm
Requirement already satisfied: tqdm in /Users/t/dev/py36/lib/python3.6/site-packages (4.19.4)
% pip install -U tqdm
Collecting tqdm
  Downloading https://files.pythonhosted.org/packages/ed/d6/3458d39cf4978f4ece846295e83daf5ece710ab0a4106774f7f7b3a68697/tqdm-4.29.1-py2.py3-none-any.whl (46kB)
    100% |████████████████████████████████| 51kB 1.0MB/s 
Installing collected packages: tqdm
  Found existing installation: tqdm 4.19.4
    Uninstalling tqdm-4.19.4:
      Successfully uninstalled tqdm-4.19.4
Successfully installed tqdm-4.29.1
@MSeal

This comment has been minimized.

Copy link
Member

commented Jan 20, 2019

I'll quickly pop out 0.17.1 so this doesn't hit too many people

@MSeal MSeal closed this Jan 20, 2019
@resperic

This comment has been minimized.

Copy link

commented Jul 22, 2019

I tried to install tqdm with conda, but would have had to downgrade my version of python from py36_1 to py36_0. Is this a related issue?

@MSeal

This comment has been minimized.

Copy link
Member

commented Jul 22, 2019

@resperic Don't think so, that sounds like a purely conda or tqdm issue.

@casperdcl

This comment has been minimized.

Copy link
Member

commented Jul 22, 2019

tqdm doesn't set any requirement on python version so must be a conda issue. See tqdm/tqdm#701

@mixvc

This comment has been minimized.

Copy link

commented Jul 29, 2019

pip install -U tqdm

Thanks. I was having trouble with Import error: auto can not found in tqdm. But the command solves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.