✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Missing module named plotly.datatypes

I installed plotly Dash on my system (OS X running pthon 3.5), but when I try and import dash, I get the following error:

ImportError: No module named ‘plotly.datatypes’

I did a “pip install plotly --upgrade” for good measure, but still get the same error. Has anyone seen the same sort of error?

Hm, for some reason you seem to have the “prerelease” version. Install the latest stable version with

pip install plotly==2.5.1

Thank you chriddyp! That fixed the issue. Not quite sure how I ended up with the prerelease version.