plotly_express
plotly_express copied to clipboard
ImportError: cannot import name 'ensure_writable_plotly_dir'
while importing import plotly.express as px I'm getting error "cannot import name 'ensure_writable_plotly_dir'"
This seems to be an issue with the latest couple of releases. Some of the files are misplaced, eg 'ensure_writable_plotly_dir' is in the _plotly_utils but _orca.py is looking for it in the wrong place. I reverted back to plotly 4.5.0 and it works. Try (or pip): conda install -c plotly plotly=4.5.0 remember to restart kernel after installation and try again