richardyc / Chrome-GPT

An AutoGPT agent that controls Chrome on your desktop
GNU General Public License v3.0
1.65k stars 208 forks source link

metaclass conflict #39

Open gurutech1416 opened 11 months ago

gurutech1416 commented 11 months ago

Hey Richard, Thanks for the code, but when I try to run it on my Windows Machine then I got the below error. Can you please let me know how can I resolve this.

Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "D:\Agent\ChromGPTV2\chromegpt__main__.py", line 4, in from chromegpt.main import run_chromegpt File "D:\Agent\ChromGPTV2\chromegpt\main.py", line 1, in from chromegpt.agent.autogpt import AutoGPTAgent File "D:\Agent\ChromGPTV2\chromegpt\agent\autogpt__init__.py", line 2, in from .autogpt import AutoGPTAgent # noqa: F401 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Agent\ChromGPTV2\chromegpt\agent\autogpt\autogpt.py", line 16, in from chromegpt.agent.autogpt.prompt import AutoGPTPrompt File "D:\Agent\ChromGPTV2\chromegpt\agent\autogpt\prompt.py", line 16, in class AutoGPTPrompt(BaseChatPromptTemplate, BaseModel): TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

If any other folk can help me, then it will be great. Thanks

yangcurve commented 5 months ago

same