1) I've set up Python 3.8 in my virtual environment, and have also specified in my web app, to use Python 3.8
However, when I'm running the code in my working directory, it gives me the following error
Traceback (most recent call last):
File "/home/eugeneamcor/dashing_demo_app.py", line 4, in <module>
import plotly.graph_objects as go
File "/usr/lib/python3.7/site-packages/plotly/graph_objects.py", line 2, in <module>
from plotly.graph_objs import *
AttributeError: module 'plotly.graph_objs' has no attribute 'FigureWidget'
>>>
I assume that this error originates because Python 3.7 is being run, instead of 3.8. How am I able to rectify this?
2) [Conceptual Qn]My Dash web application uses info based off an Excel file. I'm also looking to build schedule a daily email script that extracts info from this same Excel (I'll be able to run this script on PA right?)
As I currently manually download the file off a 3rd party portal (service provider for my org), what's the best way I can consistently reference the daily updated file? Is this my only option to do so? What is the most effective way to do this?