Skip to content

add packaging to setup.py file? #4080

Closed
@michaelbabyn

Description

@michaelbabyn

After installing plotly==5.13.1, import plotly.io failed with the below error due to packaging not being installed in my python 3.6 env by default:

      import plotly.io as pio
    File "/app/.heroku/python/lib/python3.6/site-packages/plotly/__init__.py", line 35, in <module>
      from plotly import (
    File "/app/.heroku/python/lib/python3.6/site-packages/plotly/io/__init__.py", line 12, in <module>
      from ._renderers import renderers, show
    File "/app/.heroku/python/lib/python3.6/site-packages/plotly/io/_renderers.py", line 7, in <module>
      from packaging.version import Version
ModuleNotFoundError: No module named 'packaging'```

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions