» pip install langchain-community
python - langchain : ModuleNotFoundError: No module named 'langchain_community' - Stack Overflow
To install langchain-community run `pip install -U langchain-community`. how to write this in requirements.txt file?
Why separate langchain and langchain_core for python package
I installed a python package (langchain) using "pip install", but it can't be imported - Stack Overflow
Videos
» pip install langchain
pip install langchain-community langchain-core
This is required.
If still not working then:
pip install --upgrade langchain
Also, make sure that python_version=>3.8.1
Using pip install langchain-community or pip install --upgrade langchain did not work for me in spite of multiple tries.
Using the PyCharm 'Interpreter Settings' GUI to manually install langchain-community instead, did the trick!
Hey, I'm trying to familiarize myself with the internals of the langchain python package, I noticed that langchain and langchain_core are separated and in the internal code they have similar sub packages. my question is what is the need for this separation and what is the thought process behind what should be implemented in langchain vs langchain_core. Thanks
» pip install langchain-google-community
I don't know what am I doing wrong, I have more than 10 years of experience with app development, mostly webapps. I am fairly familiar with Python and started to get more interested in AI Agents. I have been digging around some courses and tutorials but every time I got some insane dependency conflict that I need waste so much time on them that I can't simply go ahead on the projects I wanted to do.
I come from the npm world where, if you do an npm install you have everything done for you. But with Python and specially LangChain I simply cannot make anything work. A practical example:
I was following a tutorial that asked me to install the library langchain. Fine pip install lanchain. After some time I was supposed to install langchain-openai. For my surprise when I did pip install langchain-openai I started to get problems with the langchain-core library. Again, had to manually unnistall and install a lot of compatible versions that I would have to dig to find until it was working. Further along on the tutoria l had to install langchain-community. Again, dependency hell, and only with LangChain libraries. I never had these problems with, for example, tavily libraries or regex, numpy, openai. It's always langchain.
I don't know what am I doing wrong but I simply cannot see a way that I can work with this if I need to install langchain libraries for pretty much any little small thing I had to do and those libraries pretty much don't seem to work with each other and cause conflicts that would take most of the time I can spend trying to learn this.
I would love to hear for more experienced people how they handle those problems or what I am doing wrong.
Thanks in advance.
