chatgpt-retrieval icon indicating copy to clipboard operation
chatgpt-retrieval copied to clipboard

Module not Found error

Open sekhsoyebali opened this issue 1 year ago • 2 comments

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: https://github.com/urllib3/urllib3/issues/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'

sekhsoyebali avatar Aug 18 '23 20:08 sekhsoyebali

install langchain by doing this in terminal

pip3 install langchain

slim-python avatar Aug 20 '23 05:08 slim-python

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

It works for me

imanseptian avatar Aug 21 '23 23:08 imanseptian