I wanted to take a crack at creating a stock market watcher with yfinance, but when I tried to import it using vsc, it said there was no module named ‘yfinance’. I had installed it using pipx and when I tried running the command again, it told me that yfinance was already installed. I then entered the command sudo pip show yfinance
, and it came back with “WARNING: Package(s) not found: yfinance”. I’m not sure what I’m doing wrong, and I’m unable to install it just from pip3, since it is externally managed.
I have tried:
pip3 install yfinance
sudo pip3 install yfinance
pip install yfinance
pipx install yfinance
I expected it to come back saying that yfinance is installed when I ran the command sudo pip show yfinance
, but it instead said no packages found.
user23823968 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.