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

Error displaying widget: model not found #218

Open
EricLeer opened this issue Oct 3, 2022 · 0 comments
Open

Error displaying widget: model not found #218

EricLeer opened this issue Oct 3, 2022 · 0 comments

Comments

@EricLeer
Copy link

EricLeer commented Oct 3, 2022

  • Parallel TQDM version: 0.2.0
  • Python version: 3.9.14
  • Jupyter lab version: 3.4.2
  • Jupyter 1.0.0
  • Operating System: Ubuntu 22.04

Description

When using pqdm in a jupyterlab notebook I receive the following message instead of the progress bar: Error displaying widget: model not found. For the rest the code seems to be executing like normal.

What I Did

I am also able to replicate this exact problem when running the example:

from pqdm.processes import pqdm
# If you want threads instead:
# from pqdm.threads import pqdm

args = [1, 2, 3, 4, 5]
# args = range(1,6) would also work

def square(a):
    return a*a

result = pqdm(args, square, n_jobs=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant