-
-
Notifications
You must be signed in to change notification settings - Fork 229
Description
Hi,
I've tried install it both through the manager and manually through cloning from git, but can't get it to work. I ran the commands that the error message says at the end, but still no luck! Any guesses what the problem can be?
Best,
Max
Traceback (most recent call last):
File "C:\Users\maxma\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\custom_nodes\ComfyUI-Copilot\backend\service\mcp_client.py", line 20, in
from agents.mcp import MCPServerSse
ImportError: cannot import name 'MCPServerSse' from 'agents.mcp' (C:\Users\maxma\ComfyUI-Easy-Install\ComfyUI-Easy-Install\python_embeded\Lib\site-packages\agents\mcp_init_.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\maxma\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\nodes.py", line 2131, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 999, in exec_module
File "", line 488, in call_with_frames_removed
File "C:\Users\maxma\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\custom_nodes\ComfyUI-Copilot_init.py", line 46, in
from .backend.controller.conversation_api import *
File "C:\Users\maxma\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\custom_nodes\ComfyUI-Copilot\backend\controller\conversation_api.py", line 25, in
from ..service.mcp_client import comfyui_agent_invoke
File "C:\Users\maxma\ComfyUI-Easy-Install\ComfyUI-Easy-Install\ComfyUI\custom_nodes\ComfyUI-Copilot\backend\service\mcp_client.py", line 28, in
raise ImportError(
ImportError: Detected incorrect or missing 'agents' package while loading MCP components. Please install 'openai-agents' and ensure this plugin prefers it. Commands:
python -m pip uninstall -y agents gym tensorflow
python -m pip install -U openai-agents