TypeError:"Module" Object is not callable

How to fix this issue?

Hey @mrmanu,

Welcome to the Streamlit community! :tada: :tada: :tada: :tada: :tada: :tada: :partying_face:

Can you post your code (a minimum working example that causes this error would be good!). Im not sure what yf.ticker is!



Uploaded the code. Anything you can do to assist would be greatly appreciated.
I am new to this and definitely looking to get projects under my belt.

Thank you

Per the yfinance docs, this is the proper syntax:

import yfinance as yf

msft = yf.Ticker("MSFT")

Your cell has yf.ticker, which is not correct capitalization.


Yeah, that’s it. It worked.

Thank u

FileNotFoundError: [Errno 2] No such file or directory: ‘dna-logo.jpg’

Certainly need help with this.