-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I guess setup.py
misses specified version of dependencies. I installed Hey with pipx and got invalid version of open-ai
library.
You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28`
Manual installation helped:
pipx inject hey-gpt openai==0.28
By the way, the project looks awesome.
Dulani
Metadata
Metadata
Assignees
Labels
No labels