-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[BUG] yfinance
not installed. Please install using pip install yfinance
.
#1918
Comments
yfinance
not installed. Please install using pip install yfinance
.yfinance
not installed. Please install using pip install yfinance
.
Have you checked if you might be running your script in a different Python version or environment than where yfinance is installed? It could lead to version discrepancies. You can verify your Python version and the active environment using |
Hi @emirhanyagci |
And i checked yfinance is available in my agent code still same error i'm confused from phi.agent import Agent
from phi.model.google import Gemini
from phi.tools.yfinance import YFinanceTools
import yfinance
print(yfinance.__file__)
# finance_agent = Agent(
# name="Finance Agent",
# model=Gemini(id="gemini-2.0-flash-exp"),
# tools=[
# YFinanceTools(
# stock_price=True,
# analyst_recommendations=True,
# company_info=True,
# company_news=True,
# )
# ],
# instructions=["Use tables to display data"],
# show_tool_calls=True,
# markdown=True,
# )
# finance_agent.print_response("Summarize analyst recommendations for NVDA", stream=True)
# this is not working , yfinance not installed error occurs while try to run . i created issue for this https://github.com/phidatahq/phidata/issues/1918 occurs error : ImportError: |
Hello @emirhanyagci ! This is most certainly an issue with your environment. Can you please run:
And then run this example: https://docs.agno.com/tools/toolkits/yfinance Starting today we have rebranded to Agno. So please update your file to reflect the changes |
Even i already install yfinance i get this error when i try basic example at the doc .
By the way i tried to first example and its work perfectly i don't know why thats happening cuz i was face with same issue at crew ai ,I wonder if there could be a problem with the yfinance
pip freeze
The text was updated successfully, but these errors were encountered: