Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/readmeai", line 5, in
from readmeai.cli.main import main
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/readmeai/cli/main.py", line 9, in
from readmeai._agent import readme_agent
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/readmeai/_agent.py", line 22, in
from readmeai.models.dalle import DalleHandler
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/readmeai/models/dalle.py", line 7, in
from openai import Client, OpenAIError
ImportError: cannot import name 'Client' from 'openai' (/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/openai/init.py)
Am I missing something obvious? I've installed openai python lib. I used pipx to install.
From OpenAI docs I see a different way to initalize client than the one provided in dalle.py.
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.12/bin/readmeai", line 5, in
from readmeai.cli.main import main
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/readmeai/cli/main.py", line 9, in
from readmeai._agent import readme_agent
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/readmeai/_agent.py", line 22, in
from readmeai.models.dalle import DalleHandler
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/readmeai/models/dalle.py", line 7, in
from openai import Client, OpenAIError
ImportError: cannot import name 'Client' from 'openai' (/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/openai/init.py)
Am I missing something obvious? I've installed openai python lib. I used pipx to install. From OpenAI docs I see a different way to initalize client than the one provided in dalle.py.