We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f1b299 commit 15b3e95Copy full SHA for 15b3e95
dash/dash.py
@@ -1731,12 +1731,14 @@ def enable_dev_tools(
1731
if isinstance(package, ModuleSpec)
1732
else os.path.dirname(package.path)
1733
if hasattr(package, "path")
1734
+ else os.path.dirname(package._path[0])
1735
+ if hasattr(package, "_path")
1736
else package.filename
1737
for package in packages
1738
]
1739
1740
for i, package in enumerate(packages):
- if "dash/dash" in os.path.dirname(package.path):
1741
+ if hasattr(package, "path") and "dash/dash" in os.path.dirname(package.path):
1742
component_packages_dist[i : i + 1] = [
1743
os.path.join(os.path.dirname(package.path), x)
1744
for x in ["dcc", "html", "dash_table"]
0 commit comments