Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

IPYTHON_AVAILABLE evaluates to false because of failed import from bokeh #16

Closed
timothydmorton opened this issue Nov 3, 2017 · 3 comments

Comments

@timothydmorton
Copy link

here: https://github.com/ioam/parambokeh/blob/master/parambokeh/__init__.py#L16

Looks like this is the exception being raised; doesn't seem to be the one intended to be caught. Seems to have popped up with bokeh 0.12.10.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-14-119ad22f1a00> in <module>()
----> 1 from parambokeh.comms import JupyterCommJS, JS_CALLBACK, notebook_show

~/.local/lib/python3.6/site-packages/parambokeh-0.2.1-py3.6.egg/parambokeh/comms.py in <module>()
      4 import traceback
      5 
----> 6 from bokeh.embed import notebook_div
      7 
      8 from IPython.display import publish_display_data

ImportError: cannot import name 'notebook_div'
@ceball
Copy link
Member

ceball commented Nov 3, 2017

Thanks for the report. Fixing this is part of #11.

@ceball
Copy link
Member

ceball commented Nov 5, 2017

This has been fixed in #17, but it's still a work-in-progress PR at the moment. Please feel free to mention anything else you know of/discover in #11. Thanks!

@ceball
Copy link
Member

ceball commented Nov 5, 2017

Closing as it's covered by #11.

@ceball ceball closed this as completed Nov 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants