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

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

Post by Guest »

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>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post