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

0.12.0 ModuleNotFoundError: No module named 'tqdm.asyncio' #2595

Closed
ItamarShDev opened this issue Aug 1, 2021 · 10 comments · Fixed by #2596
Closed

0.12.0 ModuleNotFoundError: No module named 'tqdm.asyncio' #2595

ItamarShDev opened this issue Aug 1, 2021 · 10 comments · Fixed by #2596
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@ItamarShDev
Copy link

~/.pyenv/versions/test/lib/python3.7/site-packages/jupyter_common/version_provider/version_provider.py in <module>
----> 1 import panel as pn
      2 import ipywidgets as widgets
      3 from pkg_resources import get_distribution, DistributionNotFound
      4 
      5 

~/.pyenv/versions/test/lib/python3.7/site-packages/panel/__init__.py in <module>
      1 from . import layout # noqa
      2 from . import links # noqa
----> 3 from . import pane # noqa
      4 from . import param # noqa
      5 from . import pipeline # noqa

~/.pyenv/versions/test/lib/python3.7/site-packages/panel/pane/__init__.py in <module>
     11 from .deckgl import DeckGL # noqa
     12 from .echarts import ECharts # noqa
---> 13 from .holoviews import HoloViews, Interactive # noqa
     14 from .idom import IDOM # noqa0
     15 from .ipywidget import IPyWidget # noqa

~/.pyenv/versions/test/lib/python3.7/site-packages/panel/pane/holoviews.py in <module>
     17 from ..layout import Column, WidgetBox, HSpacer, VSpacer, Row
     18 from ..viewable import Layoutable, Viewable
---> 19 from ..widgets import Player
     20 from .base import PaneBase, Pane, RerenderError
     21 from .plot import Bokeh, Matplotlib

~/.pyenv/versions/test/lib/python3.7/site-packages/panel/widgets/__init__.py in <module>
      7 from .button import Button, MenuButton, Toggle  # noqa
      8 from .file_selector import FileSelector  # noqa
----> 9 from .indicators import ( # noqa
     10     BooleanStatus,
     11     Dial,

~/.pyenv/versions/test/lib/python3.7/site-packages/panel/widgets/indicators.py in <module>
      9 from bokeh.plotting import figure
     10 from bokeh.models import ColumnDataSource
---> 11 from tqdm.asyncio import tqdm as _tqdm
     12 
     13 from ..layout import Column, Row

ModuleNotFoundError: No module named 'tqdm.asyncio'
@MarcSkovMadsen
Copy link
Collaborator

Looks like you don’t have tqdm installed. Could you try installing that?

@ItamarShDev
Copy link
Author

Installing it works.
But Panel does not list it as a requirement, shouldn't it be installed with Panel?

@MarcSkovMadsen
Copy link
Collaborator

I think it is a r

@ItamarShDev
Copy link
Author

Clean installing the Panel package in CI fails on the dame error too

I am using latest panel with python 3.7 and Jupyterlab 2.0.1

@philippjfr
Copy link
Member

But Panel does not list it as a requirement, shouldn't it be installed with Panel?

Confused, it's right here in the install_requires: https://github.com/holoviz/panel/blob/master/setup.py#L105

@philippjfr
Copy link
Member

Clean installing the Panel package in CI fails on the dame error too

Are you using pip or conda? The exact command you used would be extremely helpful.

@ItamarShDev
Copy link
Author

ItamarShDev commented Aug 2, 2021 via email

@philippjfr
Copy link
Member

Just tried that without any issues, it installed tqdm. The only thing I can imagine is that it's getting an older version of tqdm without asyncio support. Could you check if you have tqdm and what version you're getting? I'll pin tqdm in the meantime.

@gmatteo
Copy link

gmatteo commented Aug 2, 2021

The only thing I can imagine is that it's getting an older version of tqdm without asyncio support.

I had a similar problem when installing panel 0.12 in a pre-existing conda env.
I solved it by upgrading tqdm with

pip install tqdm -U

@philippjfr
Copy link
Member

Okay, thanks, I'll make sure to pin the correct tqdm version for 0.12.1

@philippjfr philippjfr added this to the v0.12.1 milestone Aug 2, 2021
@philippjfr philippjfr added the type: bug Something isn't correct or isn't working label Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants