Issue: I pip3.8 installed dash_bootstrap_components and Import dash_bootstrap_components doesn’t work. How can I fix my error ?
this is what I have:
Creates the interactive dashboard using the dash library
import numpy as np
import pandas as pd
import dash
from dash.dependencies import Input, Output, State
import matplotlib.pyplot as plt
from dash_table import DataTable
from dash import dcc
from dash import html
import dash_bootstrap_components as dbc
from PIL import Image
#import plotly.graph_objects as go
from plotly.subplots import make_subplots
#from plotly.colors import qualitative
import plotly.graph_objects as go
=================================================
Error:
Traceback (most recent call last):
File “/home/marlainna456/corona/dashboard.py”, line 11, in
import dash_bootstrap_components as dbc
ModuleNotFoundError: No module named ‘dash_bootstrap_components’
pip3.8 install –user dash_bootstrap_components
also tried importing dash_bootstrap_components as dbc.
in PythonAnywhere
too_cool_for_school is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.