>>> from kaleido.scopes.plotly import PlotlyScope
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\My Documents\GitHub\codestats-profile-readme\venv\lib\site-packages\kaleido\scopes\plotly.py", line 4, in <module>
from plotly.graph_objects import Figure
File "D:\My Documents\GitHub\codestats-profile-readme\venv\lib\site-packages\plotly\__init__.py", line 34, in <module>
from plotly import (
File "D:\My Documents\GitHub\codestats-profile-readme\venv\lib\site-packages\plotly\io\__init__.py", line 5, in <module>
from ._kaleido import to_image, write_image
File "D:\My Documents\GitHub\codestats-profile-readme\venv\lib\site-packages\plotly\io\_kaleido.py", line 8, in <module>
from kaleido.scopes.plotly import PlotlyScope
ImportError: cannot import name '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.
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.