langchain-chat-websockets icon indicating copy to clipboard operation
langchain-chat-websockets copied to clipboard

ERROR:root:maximum recursion depth exceeded

Open azizultex opened this issue 1 year ago • 6 comments

I tried to use it but it keeps showing error:

> Entering new ConversationChain chain...
ERROR:root:maximum recursion depth exceeded

How I can fix this?

azizultex avatar Jun 03 '23 06:06 azizultex

Hi @azizultex! I can't reproduce this. Can you please provide the exact steps you took?

pors avatar Jun 03 '23 07:06 pors

Hi @pors I followed the readme file. Here is a short video: https://share.cleanshot.com/0x0JrhkQ

CleanShot 2023-06-03 at 14 11 42@2x CleanShot 2023-06-03 at 14 11 56@2x

azizultex avatar Jun 03 '23 11:06 azizultex

I still can't reproduce it. Cloning and installing from scratch.

I didn't see you do pip install -r requirements, are you sure all packages are correct?

What version of python do you use?

pors avatar Jun 03 '23 12:06 pors

Yes! I did. Here is the full video - https://share.cleanshot.com/Cl0KVRSB I was using Python 3.11.3

azizultex avatar Jun 03 '23 19:06 azizultex

Hmm, that is really weird. The only difference is that I use Python 3.10.9.

I see that someone had it before; see https://github.com/hwchase17/langchain/issues/4002

But that has been fixed. Maybe try installing the latest version of langchain?

pip install --upgrade langchain

pors avatar Jun 04 '23 06:06 pors

Oh wow I'm a winner go me lol, post reported.

SkillfulHacking avatar Jan 23 '24 20:01 SkillfulHacking