How to Solve NameError: name 'Share' is not defined -- yahoo_finance

Solution: Import the 'Share' module

To Solve the error, add the following line to the top of your code.

from yahoo_finance import Share

 

For more information:
Python yahoo_finance Share