Skip to content

v0.0.2 cannot import name 'PlotlyScope' on Windows venv #22

Description

@WEGFan
>>>fromkaleido.scopes.plotlyimportPlotlyScopeTraceback (mostrecentcalllast):
File"<stdin>", line1, in<module>File"D:\My Documents\GitHub\codestats-profile-readme\venv\lib\site-packages\kaleido\scopes\plotly.py", line4, in<module>fromplotly.graph_objectsimportFigureFile"D:\My Documents\GitHub\codestats-profile-readme\venv\lib\site-packages\plotly\__init__.py", line34, in<module>fromplotlyimport (
File"D:\My Documents\GitHub\codestats-profile-readme\venv\lib\site-packages\plotly\io\__init__.py", line5, in<module>from ._kaleidoimportto_image, write_imageFile"D:\My Documents\GitHub\codestats-profile-readme\venv\lib\site-packages\plotly\io\_kaleido.py", line8, in<module>fromkaleido.scopes.plotlyimportPlotlyScopeImportError: cannotimportname'PlotlyScope'

It seems like it's a circular import problem and #18 causes it, but neither Linux with venv nor Windows without venv has this issue.
I'm using Python 3.6.8 on Windows and 3.6.2 on Linux.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions