jxnl / instructor

structured outputs for llms

Home Page:https://python.useinstructor.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No module named 'tenacity.asyncio'

axfrl opened this issue · comments

commented
  • This is actually a bug report.

Hello,
I try to import instructor 1.3.3 in my notebook run on an azure cluster(spark 3.5, scala 2.12).
I have the latest openai library (1.34.0).

I always have this error message:
ModuleNotFoundError: No module named 'tenacity.asyncio'
[...]
-->653 from tenacity.asyncio import AsyncRetrying # noqa:E402,I100

yeah, same error
I have also installed tenacity 8.4.0

I think the issue is on tenacity here, you need to update it to 8.4.1
https://github.com/jd/tenacity/releases/tag/8.4.1