Closed googlier325 closed 1 month ago
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stale for 5 days with no activity.
Action: 1) Pulled repo 2) Enter API keys 3) Ran poetry installed dependencies: poetry install --no-root 4) Ran python main.py in Vscode terminal
Error:
C:\Python311\Lib\site-packages\langchain\embeddings__init__.py:29: LangChainDeprecationWarning: Importing embeddings 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.embeddings import OpenAIEmbeddings
.To install langchain-community run
from stock_analysis_agents import StockAnalysisAgents
File "C:\Users\xxx\Documents\GitHub\crewAI-examples\stock_analysis\stock_analysis_agents.py", line 8, in
from langchain.tools.yahoo_finance_news import YahooFinanceNewsTool
File "C:\Python311\Lib\site-packages\langchain\tools\yahoo_finance_news.py", line 1, in
from langchain_community.tools.yahoo_finance_news import YahooFinanceNewsTool
File "C:\Python311\Lib\site-packages\langchain_community\tools\yahoo_finance_news.py", line 9, in
from langchain_community.document_loaders.web_base import WebBaseLoader
File "C:\Python311\Lib\site-packages\langchain_community\document_loaders__init__.py", line 163, in
from langchain_community.document_loaders.pebblo import PebbloSafeLoader
File "C:\Python311\Lib\site-packages\langchain_community\document_loaders\pebblo.py", line 5, in
import pwd
ModuleNotFoundError: No module named 'pwd'
pip install -U langchain-community
. warnings.warn( Traceback (most recent call last): File "C:\Users\xxx\Documents\GitHub\crewAI-examples\stock_analysis\main.py", line 4, inThis ran fine previously but encounters an error now. Is this due to crewai 2.0?
Thanks!