-
Notifications
You must be signed in to change notification settings - Fork 57
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
Not able to callback #6
Comments
@yashwatwani This looks like a Bokeh versioning problem if you are able to import Check the version of Bokeh:
Could you please install the version 1.3.4 and try again. If using pip: Please let us know if this fixes the problem. Edit: Correction on the Bokeh version (not 2.0.1, but 1.3.4) |
We were able to reproduce the error by upgrading to Bokeh 2.0.1. Using Bokeh 1.3.4 resolves the error; therefore, closing the issue. |
Hi, I am new to this forum and python programming.. I was trying to run the code in my system, below is the error I get when I run - "from call_backs import input_callback, selected_code" How do I install call_backs in conda.ModuleNotFoundError Traceback (most recent call last) ModuleNotFoundError: No module named 'call_backs' |
Make sure the lib folder is in the same directory as the Notebook. Error is complaining about call_backs.py. |
“call_backs” is in lib/call_backs.py. You cannot conda install it.
…On Sat, Jul 11, 2020 at 8:48 AM Shruthihanu ***@***.***> wrote:
Hi,
Yes, error is on call_backs.... not sure how to install this module.
[image: call_backs]
<https://user-images.githubusercontent.com/20811027/87224412-d3938480-c3a2-11ea-8766-2f457429a731.PNG>
can you guide me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMKHHS6XFBTADQUD4B4PLJ3R3BNR5ANCNFSM4MMMVXEQ>
.
|
AttributeError Traceback (most recent call last)
in ()
10
11 # WIDGETS
---> 12 slider = Slider(start=0, end=20, value=20, step=1, title="Cluster #",callback=input_callback_1)
13 keyword = TextInput(title="Search:")
14
/home/ds/.local/lib/python3.6/site-packages/bokeh/models/widgets/sliders.py in init(self, **kwargs)
68 raise ValueError("Slider 'start' and 'end' cannot be equal.")
69
---> 70 super().init(**kwargs)
71
72 title = String(default="", help="""
/home/ds/.local/lib/python3.6/site-packages/bokeh/model.py in init(self, **kwargs)
232 kwargs.pop("id", None)
233
--> 234 super().init(**kwargs)
235 default_theme.apply_to_model(self)
236
/home/ds/.local/lib/python3.6/site-packages/bokeh/core/has_props.py in init(self, **properties)
245
246 for name, value in properties.items():
--> 247 setattr(self, name, value)
248
249 def setattr(self, name, value):
/home/ds/.local/lib/python3.6/site-packages/bokeh/core/has_props.py in setattr(self, name, value)
280
281 raise AttributeError("unexpected attribute '%s' to %s, %s attributes are %s" %
--> 282 (name, self.class.name, text, nice_join(matches)))
283
284 def str(self):
AttributeError: unexpected attribute 'callback' to Slider, similar attributes are js_event_callbacks
The text was updated successfully, but these errors were encountered: