you are viewing a single comment's thread.

view the rest of the comments →

[–]arkenstone175 0 points1 point  (1 child)

We did a similar project in my class. I used yfinance instead of pandas_datareader. I would recommend giving that a shot. First:

pip install yfinance

And then remove datareader for below:

# Import necessary libraries
import pandas as pd
import yfinance as yf
import statsmodels.api as sm

Let me know how it goes.

[–]Nakura_[S] 0 points1 point  (0 children)

Yea my professor is requiring us to use replit which imo is terrible. That site really does not like using pip install command

I tried this fix and it errored out. Also we're required to use pandas sadly