Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error: Cannot import name 'OpenAI' from "openai' #49

Open
Duemellon opened this issue Jul 2, 2024 · 0 comments
Open

Getting error: Cannot import name 'OpenAI' from "openai' #49

Duemellon opened this issue Jul 2, 2024 · 0 comments

Comments

@Duemellon
Copy link

This worked previously & stopped working in the last week or so.

**Traceback (most recent call last):
File "E:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1906, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_omost_init
.py", line 1, in
from .omost_nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_omost\omost_nodes.py", line 11, in
from openai import OpenAI
ImportError: cannot import name 'OpenAI' from 'openai' (D:\Python\Python310\lib\site-packages\openai_init
.py)**_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant