Comments (5)
from dash-bootstrap-components.
Hi @DSAGRO3F
It is compatible, I just installed in a fresh 3.12 environment myself and successfully ran a test app to double check.
The fact that the error says no module named dash_bootstrap_components
was found suggests that the installation failed. If you didn't see any error messages when installing with pip
, you should check that pip
is installing in the same environment as the python
command you are running the app with. Runwhich python
and which pip
if you're on macOS / Linux to check (on windows try where python
in command prompt or Get-Command python
in PowerShell).
You also have the option of installing with python -m pip install dash-bootstrap-components
which ensures that the module will be installed in whatever environment python
command is referencing.
from dash-bootstrap-components.
from dash-bootstrap-components.
I tried different things to see if installation is made the proper way...
(env) olivierdebeyssac@macbook-air-m1-olivier other_dash_apps % which python3.12
/Users/olivierdebeyssac/Python_plotly_dash/other_dash_apps/env/bin/python3.12
(env) olivierdebeyssac@macbook-air-m1-olivier other_dash_apps % which pip3.12
/Users/olivierdebeyssac/Python_plotly_dash/other_dash_apps/env/bin/pip3.12
Seems pip and python are installed in same environment
Also tried:
(env) olivierdebeyssac@macbook-air-m1-olivier other_dash_apps % python3.12 -m pip install dash-bootstrap-components
Requirement already satisfied: dash-bootstrap-components in ./env/lib/python3.12/site-packages (1.5.0)
Output of installation confirms it is installed.
Confirmed by pip list that says it is installed in my virtual environment
(env) olivierdebeyssac@macbook-air-m1-olivier other_dash_apps % pip3.12 list
Package Version
ansi2html 1.9.1
blinker 1.7.0
certifi 2023.11.17
charset-normalizer 3.3.2
click 8.1.7
contourpy 1.2.0
cycler 0.12.1
dash 2.14.2
dash-bootstrap-components 1.5.0
dash-core-components 2.0.0
dash-html-components 2.0.0
(env) olivierdebeyssac@macbook-air-m1-olivier other_dash_apps % pip3.12 show dash-bootstrap-components
Name: dash-bootstrap-components
Version: 1.5.0
Summary: Bootstrap themed components for use in Plotly Dash
Home-page: https://dash-bootstrap-components.opensource.faculty.ai/
Author: Faculty
Author-email: [email protected]
License: Apache Software License
Location: /Users/olivierdebeyssac/Python_plotly_dash/other_dash_apps/env/lib/python3.12/site-packages
from dash-bootstrap-components.
Thanks for the extra detail. Sounds to me that the issue is your PyCharm project environment is not the same as the virtual environment you have been installing packages in.
I don't use PyCharm myself so I'm afraid I can't help there, but that's where I would start.
from dash-bootstrap-components.
Related Issues (20)
- Support tooltips without IDs HOT 3
- [Bug] Console warning on dbc.Tooltip component HOT 3
- dbc.Tabs not showing all tabs in expanded mode in 1.4.1 HOT 1
- Is there a way to use an icon as a label in a dbc.Tab element? HOT 2
- Alert component breaks multi-page navigation HOT 1
- Dash & XLwings. Attempting to pre-load Excel before Dash callback to save load time. HOT 3
- dbc.Input no type = 'file' HOT 6
- dbc.TextArea n_submit should not increment for Shift+Enter? HOT 3
- Consider Supporting Hyperlinks in Carousel Images HOT 6
- Dropdown presentation in data table doesn't work HOT 1
- Keyword argument for value OR placeholder HOT 2
- BUG: max doesn't work on nested progress bar HOT 3
- Docs app not working with Dash 2.14.0 HOT 3
- Allow icons and html in `dbc.AccordionItem()` title HOT 3
- Remove migration guide in docs
- selected attribute for dbc.Select HOT 1
- `dbc.Checklist` does not accept `label` as `list[Component]` like `dcc.Checklist` does HOT 3
- Nested tabs in `Offcanvas` component trigger scroll up event on tab change HOT 2
- Tooltip closing race condition with children change callback HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dash-bootstrap-components.