I was just getting started with Langchain & installed Langchain with pip install langchain.
As soon as I imported Langchain from
import lanchain & ran the script...I got the error:
pexpect module not found error.
When I installed it...i got the error that spawn isn't avaiable in pexepect.spawn.
So Here's a solution to this issue untill Lanchain fixes it in their repo. It's a quick one.
Watch video Langchain Error - PExpect Not Found Solution - Fix - in 3 minutes - for Windows online without registration, duration 03 minute 06 second in high hd quality. This video was added by user Code Jana 28 April 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 78 once and liked it people.