More specifically: langchain releases a new update every few days, and it is likely that you are using code or a library that needs a later version of langchain than you have (or, perhaps, a later version that removed whatever part of langchain you rely on). You need to figure out what version of langchain works for your use case and pin it. Updating to the latest version every time makes you vulnerable to breaking changes like this.