Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Error - module 'dash_core_components' has no attribute 'Tabs'

Hi,

I have just upgraded my dash-core-components to version 0.15.0rc1 - but still I am getting this error that module ‘dash_core_components’ has no attribute ‘Tabs’

Need help with this.

Thanks,
P

Have upgraded to dash_core_components version 0.15.3, but still don’t seem to find Tabs.

Can someone help which version has Tabs attribute?

import dash_core_components as dcc
print(dcc.version)
0.15.3

help(dcc)
Help on package dash_core_components:
NAME
dash_core_components
PACKAGE CONTENTS
version
VERSION
0.15.3

dir(dcc)
[‘Checklist’, ‘DatePickerRange’, ‘DatePickerSingle’, ‘Dropdown’, ‘Graph’, ‘Input’, ‘Interval’, ‘Link’, ‘Location’, ‘Markdown’, ‘RadioItems’, ‘RangeSli
der’, ‘Slider’, ‘SyntaxHighlighter’, ‘Textarea’, ‘Upload’, ‘builtins’, ‘cached’, ‘doc’, ‘file’, ‘loader’, ‘name’, ‘package
’, ‘path’, ‘spec’, ‘version’, ‘_components’, ‘_css_dist’, ‘_current_path’, ‘_dash’, ‘_js_dist’, ‘_os’, ‘_sys’, ‘_this_module’, ‘component’
, ‘version’]

Clear and restart your kernel and run !pip install dash-core-components==0.15.0-rc1 --upgrade. Then clear and restart it again but don’t run the pip, just go on with your code. Worked for me when I had this problem.

1 Like

I had the same problem and it worked for me too!! Thanks