ModulenotFoundError: Kein Modul mit dem Namen "YFInance" - Importieren von Yahoo Finance & Financials in Python

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: ModulenotFoundError: Kein Modul mit dem Namen "YFInance" - Importieren von Yahoo Finance & Financials in Python

by Guest » 04 Feb 2025, 16:07

Ich verwende Mac OS und empfange einen Fehler, wenn ich Folgendes mache: < /p>

Code: Select all

import pandas as pd
import yfinance as yf
from yahoofinancials import YahooFinancials
< /code>

modulenotFoundError: kein Modul mit dem Namen 'YFInance' < /p>
< /blockquote>
Ich habe PIP überprüft ist in der neuesten Version installiert und ich habe PIP -Liste erstellt und YFInance ist da drin.pip show yfinance
Name: yfinance
Version: 0.1.70
Summary: Download market data from Yahoo! Finance API
Home-page: https://github.com/ranaroussi/yfinance
Author: Ran Aroussi
Author-email: [email protected]
License: Apache
Location: /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages
Requires: lxml, multitasking, numpy, pandas, requests
Required-by:
MacBook-Air:~ User$
Es ist also installiert und sein Weg ist der von Python3, dem neuesten Python. /> Danke
[Bearbeiten]
Ich leite Spyder aus der Standard -Spyder -Umgebung aus. < /P>

Top