'How to download yfinance, using pycharm and windows powershell

When trying to install yFinance a python plugin, I tried going into my windows powershell to install it using the command

pip install yfinance

This gives me the error message

pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pip install yfinance
+ ~~~
    + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Im using pycharm, and just trying to install yfinance. Is there any other way to install the package or is there any way to fix my problem at hand?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source