$ python3
Python 3.8.8 (default, Apr 13 2021, 12:59:45)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from kaleido.scopes.plotly import PlotlyScope
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/cpsievert/github/plotly/kaleido.py", line 1, in <module>
from kaleido.scopes.plotly import PlotlyScope
ModuleNotFoundError: No module named 'kaleido.scopes'; 'kaleido' is not a package
$ ▶ conda list
# packages in environment at /Users/cpsievert/opt/anaconda3:
#
# Name Version Build Channel
...
kaleido 0.2.1 pypi_0 pypi
...
I've tried installing with both pip and conda and keep running into this same error