Skip to content

ModuleNotFoundError: No module named 'kaleido.scopes'; 'kaleido' is not a package #97

@cpsievert

Description

@cpsievert

I've tried installing with both pip and conda and keep running into this same error

$ which python3                                                       
~/opt/anaconda3/bin/python3
$ cat ~/opt/anaconda3/lib/python3.8/site-packages/kaleido/_version.py                 
__version__ = "0.2.1"
$ 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
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions