✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Heroku app deployment Application error

Hi I followed these steps:
https://dash.plot.ly/deployment
but after all, when I go to my heroku app it says:
Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

It looks like that is the offending line of your log.

Is ipywidgets an external library? If so, is it in your requirements.txt?

My requirements.txt contents:

certifi==2018.11.29
chardet==3.0.4
Click==7.0
dash==0.35.2
dash-core-components==0.42.1
dash-html-components==0.13.5
dash-renderer==0.16.2
decorator==4.3.0
Flask==1.0.2
Flask-Compress==1.4.0
gunicorn==19.9.0
idna==2.8
ipython-genutils==0.2.0
itsdangerous==1.1.0
Jinja2==2.10
jsonschema==2.6.0
jupyter-core==4.4.0
MarkupSafe==1.1.0
nbformat==4.4.0
plotly==3.5.0
pytz==2018.9
requests==2.21.0
retrying==1.3.3
six==1.12.0
traitlets==4.3.2
urllib3==1.24.1
Werkzeug==0.14.1

I don’t see any ipywidgets in there. Is this a project modile or did you install it through pip?

requirements.txt

requirements.txt describes your Python dependencies. You can fill this file in automatically with:

$ pip freeze > requirements.txt

Yes I understand how pip feeze works. I’m asking you a different question.

Once again, is ipywidgets installed using pip or is this defined in your project?

ipywidgets is not installed using pip but is defined in the project as:
import ipywidgets as widgets
also I found pandas and scipy also has a problem:
from scipy import special
import pandas as pd

It means I must install all libraries to virtualenv??

import dash
from dash.dependencies import Input, Output
import dash_core_components as dcc
import dash_html_components as html

from plotly import graph_objs as go # or

import ipywidgets as widgets
from scipy import special

import datetime

import json
import pandas as pd
import os
from flask import Flask
import numpy as np

Yes. Once you have the app working in the virtual environment, then you should run pip freeze.

As for the ipywidgets module, it might have to do with your pythonpath. Could you share your application directory tree?

Also as a tip, you can test things out by running your app locally using gunicorn before pushing to heroku. This is easy on Linux or Mac. On Windows it will require cygwin or maybe a virtual machine. Both beyond the scope of this forum.

Regarding the pythonpath, here is the documentation for that flag in gunicorn: http://docs.gunicorn.org/en/stable/settings.html#pythonpath

As for the ipywidgets module, it might have to do with your pythonpath. Could you share your application directory tree?
How is it done? Dont know how to find a tree. Sorry!

It’s just the layout of your files and tree is just the expression used. See http://www.linfo.org/directory_tree.html

For example, here is how you can easily do it on Windows: https://cmatskas.com/generate-ascii-folder-structures-for-windows-with-tree/

REMOVED THE TEXT as has no importance.

REMOVED THE TEXT as has no importance.

REMOVED THE TEXT as has no importance.

REMOVED THE TEXT as has no importance.

|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---stream
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---heatmapgl
|   |   |   |   |   +---colorbar
|   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---title
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---stream
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---histogram
|   |   |   |   |   +---cumulative
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---error_x
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---error_y
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---marker
|   |   |   |   |   |   +---colorbar
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---line
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---selected
|   |   |   |   |   |   +---marker
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---textfont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---stream
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---unselected
|   |   |   |   |   |   +---marker
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---textfont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---xbins
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---ybins
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---histogram2d
|   |   |   |   |   +---colorbar
|   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---title
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---marker
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---stream
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---xbins
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---ybins
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---histogram2dcontour
|   |   |   |   |   +---colorbar
|   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---title
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---contours
|   |   |   |   |   |   +---labelfont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---line
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---marker
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---stream
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---xbins
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---ybins
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---layout
|   |   |   |   |   +---angularaxis
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---annotation
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---colorscale
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---font
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---geo
|   |   |   |   |   |   +---center
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---domain
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---lataxis
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---lonaxis
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---projection
|   |   |   |   |   |   |   +---rotation
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---grid
|   |   |   |   |   |   +---domain
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---image
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---legend
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---mapbox
|   |   |   |   |   |   +---center
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---domain
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---layer
|   |   |   |   |   |   |   +---circle
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---fill
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---line
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---symbol
|   |   |   |   |   |   |   |   +---textfont
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---margin
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---modebar
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---polar
|   |   |   |   |   |   +---angularaxis
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---domain
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---radialaxis
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---radialaxis
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---scene
|   |   |   |   |   |   +---annotation
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---aspectratio
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---camera
|   |   |   |   |   |   |   +---center
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---eye
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---up
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---domain
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---xaxis
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---yaxis
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---zaxis
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---shape
|   |   |   |   |   |   +---line
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---slider
|   |   |   |   |   |   +---currentvalue
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---pad
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---step
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---transition
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---template
|   |   |   |   |   |   +---data
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---ternary
|   |   |   |   |   |   +---aaxis
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---baxis
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---caxis
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---domain
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---title
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---pad
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---titlefont
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---updatemenu
|   |   |   |   |   |   +---button
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---pad
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---xaxis
|   |   |   |   |   |   +---rangeselector
|   |   |   |   |   |   |   +---button
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---rangeslider
|   |   |   |   |   |   |   +---yaxis
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---title
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---yaxis
|   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---title
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---mesh3d
|   |   |   |   |   +---colorbar
|   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---title
|   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---contour
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---lighting
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---lightposition
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---stream
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---ohlc
|   |   |   |   |   +---decreasing
|   |   |   |   |   |   +---line
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---increasing
|   |   |   |   |   |   +---line
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---line
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---stream
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---parcats
|   |   |   |   |   +---dimension
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---domain
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---labelfont
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---line
|   |   |   |   |   |   +---colorbar
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---stream
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---tickfont
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---parcoords
|   |   |   |   |   +---dimension
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---domain
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---labelfont
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---line
|   |   |   |   |   |   +---colorbar
|   |   |   |   |   |   |   +---tickfont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---tickformatstop
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---title
|   |   |   |   |   |   |   |   +---font
|   |   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   +---titlefont
|   |   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---rangefont
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---stream
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---tickfont
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   \---__pycache__
|   |   |   |   +---pie
|   |   |   |   |   +---domain
|   |   |   |   |   |   \---__pycache__
|   |   |   |   |   +---hoverlabel
|   |   |   |   |   |   +---font
|   |   |   |   |   |   |   \---__pycache__
|   |   |   |   |   |   \---__pycache__

| | | | | ±–insidetextfont
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–outsidetextfont
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | ±–title
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–titlefont
| | | | | | —pycache
| | | | | —pycache
| | | | ±–pointcloud
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–border
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | —pycache
| | | | ±–sankey
| | | | | ±–domain
| | | | | | —pycache
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–link
| | | | | | ±–hoverlabel
| | | | | | | ±–font
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–node
| | | | | | ±–hoverlabel
| | | | | | | ±–font
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | —pycache
| | | | ±–scatter
| | | | | ±–error_x
| | | | | | —pycache
| | | | | ±–error_y
| | | | | | —pycache
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–line
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–gradient
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–selected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | ±–unselected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | —pycache
| | | | ±–scatter3d
| | | | | ±–error_x
| | | | | | —pycache
| | | | | ±–error_y
| | | | | | —pycache
| | | | | ±–error_z
| | | | | | —pycache
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–line
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–projection
| | | | | | ±–x
| | | | | | | —pycache
| | | | | | ±–y
| | | | | | | —pycache
| | | | | | ±–z
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | —pycache
| | | | ±–scattercarpet
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–line
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–gradient
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–selected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | ±–unselected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | —pycache
| | | | ±–scattergeo
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–line
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–gradient
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–selected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | ±–unselected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | —pycache
| | | | ±–scattergl
| | | | | ±–error_x
| | | | | | —pycache
| | | | | ±–error_y
| | | | | | —pycache
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–line
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–selected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | ±–unselected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | —pycache
| | | | ±–scattermapbox
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–line
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–selected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | ±–unselected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | —pycache
| | | | | —pycache
| | | | ±–scatterpolar
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–line
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–gradient
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–selected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | ±–unselected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | —pycache
| | | | ±–scatterpolargl
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–line
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–selected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | ±–unselected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | —pycache
| | | | ±–scatterternary
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–line
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–gradient
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–selected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–textfont
| | | | | | —pycache
| | | | | ±–unselected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | ±–textfont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | —pycache
| | | | ±–splom
| | | | | ±–diagonal
| | | | | | —pycache
| | | | | ±–dimension
| | | | | | ±–axis
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–marker
| | | | | | ±–colorbar
| | | | | | | ±–tickfont
| | | | | | | | —pycache
| | | | | | | ±–tickformatstop
| | | | | | | | —pycache
| | | | | | | ±–title
| | | | | | | | ±–font
| | | | | | | | | —pycache
| | | | | | | | —pycache
| | | | | | | ±–titlefont
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–line
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–selected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | ±–unselected
| | | | | | ±–marker
| | | | | | | —pycache
| | | | | | —pycache
| | | | | —pycache
| | | | ±–streamtube
| | | | | ±–colorbar
| | | | | | ±–tickfont
| | | | | | | —pycache
| | | | | | ±–tickformatstop
| | | | | | | —pycache
| | | | | | ±–title
| | | | | | | ±–font
| | | | | | | | —pycache
| | | | | | | —pycache
| | | | | | ±–titlefont
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–hoverlabel
| | | | | | ±–font
| | | | | | | —pycache
| | | | | | —pycache
| | | | | ±–lighting
| | | | | | —pycache
| | | | | ±–lightposition
| | | | | | —pycache
| | | | | ±–starts
| | | | | | —pycache
| | | | | ±–stream
| | | | | | —pycache
| | | | | —pycache
| | | | ±–surface
| | | | | ±–colorbar
| | | | | | ±–tickfont

REMOVED THE TEXT as has no importance.

Does it work if you just add “ipywidgets” to your requirements.txt?

How to add it to the requirements?