plotly / plotly.py

The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
https://plotly.com/python/
MIT License
16.06k stars 2.54k forks source link

No module named `tenacity.asyncio` #4637

Open paddyroddy opened 3 months ago

paddyroddy commented 3 months ago

Related error discussed in detail here https://github.com/langchain-ai/langchain/issues/22972

  File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/plotly/io/_renderers.py", line 9, in <module>
    from plotly.io._base_renderers import (
  File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/plotly/io/_base_renderers.py", line 10, in <module>
    from plotly.io._orca import ensure_server
  File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/plotly/io/_orca.py", line 14, in <module>
    import tenacity
  File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/tenacity/__init__.py", line 653, in <module>
    from tenacity.asyncio import AsyncRetrying  # noqa:E402,I100
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'tenacity.asyncio'
paddyroddy commented 3 months ago

Looks like it could be fixed in 8.4.1 https://github.com/jd/tenacity/issues/475#issuecomment-2173259665