1👍
✅
To fix an exception problem of plotly versions 2.0.5-2.0.9 on import, reinstall plotly to known good version 2.0.0.
sudo pip uninstall plotly
sudo pip install -I plotly==2.0.0
Source:stackexchange.com