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

Runner fails in the notebook #299

Closed
ncuxomun opened this issue Feb 24, 2021 · 15 comments
Closed

Runner fails in the notebook #299

ncuxomun opened this issue Feb 24, 2021 · 15 comments

Comments

@ncuxomun
Copy link

Hi.

Thank you very much for sharing your project!

I have attempted to run some tutorials on my machine(s), OS: Windows 10 | Python 3.8.5, but the runner fails to execute. For example:
image.

Please note that when I tried running the examples on Binder, everything worked smoothly. Can you please help me resolve the issue because I would like to run a set of my experiments?

Thank you very much for your attention!

@basnijholt
Copy link
Member

Could you try runner.task.print_stack() to see the error.

@basnijholt
Copy link
Member

@ncuxomun
Copy link
Author

Could you try runner.task.print_stack() to see the error.

Hi, Bas. May I call you by your name?
Thanks for responding. Here is the error:
image

@basnijholt
Copy link
Member

I think you are just missing the relevant bit of the error message here.

@ncuxomun
Copy link
Author

I screen'ed entire message in the notebook. How can I find the relevant bit?

@basnijholt
Copy link
Member

The part that comes after the raise RuntimeError on the last line.

@ncuxomun
Copy link
Author

I ran the script version, and the error message is:
image

@ncuxomun
Copy link
Author

image

@basnijholt
Copy link
Member

Could you try

pip install loky

and try again?

@ncuxomun
Copy link
Author

Hello!
Thank you so much for the suggestion - it worked! But I could not plot the figure as shown below:
image
I did not observe the plotting issue when I was facing the previous issue.

@basnijholt
Copy link
Member

What version holoviews do you have installed?

@ncuxomun
Copy link
Author

It is holoviews 1.14.1, the version that is requested and installed when installing adaptive.

@basnijholt
Copy link
Member

I can reproduce it after upgrading bokeh from 2.2.3 to 2.3.0.

I will come up with a fix.

@basnijholt
Copy link
Member

This is this issue holoviz/holoviews#4848. HoloViews folks plan to have a release in the next few days.

In the meantime, you can fix it by doing

pip install -U bokeh=2.2.3

@ncuxomun
Copy link
Author

ncuxomun commented Mar 1, 2021

Thanks a lot! I think I should be good to start exploring the package.

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

2 participants