Code Monkey home page Code Monkey logo

Comments (5)

DSAGRO3F avatar DSAGRO3F commented on June 2, 2024 1

from dash-bootstrap-components.

tcbegley avatar tcbegley commented on June 2, 2024

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.

DSAGRO3F avatar DSAGRO3F commented on June 2, 2024

from dash-bootstrap-components.

DSAGRO3F avatar DSAGRO3F commented on June 2, 2024

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.

tcbegley avatar tcbegley commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.