You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Sir,
I have created and activated the conda environment and installed all dependencies too. While running ingest.py it's giving below error. I am clue less, pls help.
Error details
"
C:\Users\Pallavi\AppData\Roaming\Python\Python311\site-packages\langchain\vectorstores_init_.py:35: LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.vectorstores import Chroma.
To install langchain-community run pip install -U langchain-community.
warnings.warn(
Traceback (most recent call last):
File "c:\Srikanta\Technical\LGPT\ingest.py", line 10, in
from utils import get_embeddings
File "c:\Srikanta\Technical\LGPT\utils.py", line 4, in
from constants import EMBEDDING_MODEL_NAME
File "c:\Srikanta\Technical\LGPT\constants.py", line 7, in
from langchain.document_loaders import CSVLoader, PDFMinerLoader, TextLoader, UnstructuredExcelLoader, Docx2txtLoader
File "C:\Users\Pallavi\AppData\Roaming\Python\Python311\site-packages\langchain\document_loaders_init_.py", line 32, in getattr
from langchain_community import document_loaders
File "C:\Users\Pallavi\AppData\Roaming\Python\Python311\site-packages\langchain_community\document_loaders_init_.py", line 163, in
from langchain_community.document_loaders.pebblo import PebbloSafeLoader
File "C:\Users\Pallavi\AppData\Roaming\Python\Python311\site-packages\langchain_community\document_loaders\pebblo.py", line 5, in
import pwd
ModuleNotFoundError: No module named 'pwd'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear Sir,
I have created and activated the conda environment and installed all dependencies too. While running ingest.py it's giving below error. I am clue less, pls help.
Error details
"
C:\Users\Pallavi\AppData\Roaming\Python\Python311\site-packages\langchain\vectorstores_init_.py:35: LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.vectorstores import Chroma
.To install langchain-community run
pip install -U langchain-community
.warnings.warn(
Traceback (most recent call last):
File "c:\Srikanta\Technical\LGPT\ingest.py", line 10, in
from utils import get_embeddings
File "c:\Srikanta\Technical\LGPT\utils.py", line 4, in
from constants import EMBEDDING_MODEL_NAME
File "c:\Srikanta\Technical\LGPT\constants.py", line 7, in
from langchain.document_loaders import CSVLoader, PDFMinerLoader, TextLoader, UnstructuredExcelLoader, Docx2txtLoader
File "C:\Users\Pallavi\AppData\Roaming\Python\Python311\site-packages\langchain\document_loaders_init_.py", line 32, in getattr
from langchain_community import document_loaders
File "C:\Users\Pallavi\AppData\Roaming\Python\Python311\site-packages\langchain_community\document_loaders_init_.py", line 163, in
from langchain_community.document_loaders.pebblo import PebbloSafeLoader
File "C:\Users\Pallavi\AppData\Roaming\Python\Python311\site-packages\langchain_community\document_loaders\pebblo.py", line 5, in
import pwd
ModuleNotFoundError: No module named 'pwd'
"
Beta Was this translation helpful? Give feedback.
All reactions