简体   繁体   中英

pip install yahoo-finance with jupyter notebook

I tried to install yahoo finance in terminal with pip install yahoo-finance so I can run yahoo finance in jupyter notebook. While there's nothing happened after I typed in my terminal, so there's an error said ModuleNotFoundError: No module named 'yahoo_finance' in jupyter noterbook.

Could someone give me any advice? Thanks!

I know I'm a little late to answer this but I ran this in my Jupyter notebook for Python:

!pip install yfinance

and it worked correctly. (It also works in Google Colab.) Hope this helped!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM