Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not Found error #36

Open
sekhsoyebali opened this issue Aug 18, 2023 · 2 comments
Open

Module not Found error #36

sekhsoyebali opened this issue Aug 18, 2023 · 2 comments

Comments

@sekhsoyebali
Copy link

chatgpt-retrieval-main % python chatgpt.py "what is my dog name"
/Users/soyeb/Library/Python/3.9/lib/python/site-packages/urllib3/init.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: urllib3/urllib3#3020
warnings.warn(
Traceback (most recent call last):
File "/Users/soyeb/Desktop/Work/chatgpt-retrieval-main/chatgpt.py", line 5, in
from langchain.chains import ConversationalRetrievalChain, RetrievalQA
ModuleNotFoundError: No module named 'langchain'

@slim-python
Copy link

install langchain by doing this in terminal

pip3 install langchain

@imanseptian
Copy link

You have to downgrade the unstructured package, try this:
pip install unstructured==0.7.12

It works for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants