AI4Finance-Foundation / FinRL

FinRL: Financial Reinforcement Learning. 🔥
https://ai4finance.org
MIT License
9.48k stars 2.31k forks source link

No module named 'finrl_meta' #975

Open Arishi-Orra opened 1 year ago

Arishi-Orra commented 1 year ago

No module named 'finrl_meta'

I have successfully installed the FinRL library and when I am running the [Stock_NeurIPS2018.ipynb] (https://github.com/AI4Finance-Foundation/FinRL-Tutorials/blob/master/1-Introduction/Stock_NeurIPS2018_SB3.ipynb) file, it is showing the following error:

  1. " from finrl_meta.preprocessor.yahoodownloader import YahooDownloader ModuleNotFoundError: No module named 'finrl_meta' "

  2. The same error is also pooping when running the following command: " from finrl.meta.preprocessor.preprocessors import FeatureEngineer, data_split

ModuleNotFoundError: No module named 'finrl.meta' "

  1. Also, one more error: " from finrl import config_tickers

ImportError: cannot import name 'config_tickers' from 'finrl' "

Need help with what I am doing wrong here.

zhumingpassional commented 1 year ago

pls try https://github.com/AI4Finance-Foundation/FinRL-Tutorials/blob/master/1-Introduction/Stock_NeurIPS2018_SB3.ipynb

YangletLiu commented 1 year ago

No module named 'finrl_meta'

I have successfully installed the FinRL library and when I am running the [Stock_NeurIPS2018.ipynb] (https://github.com/AI4Finance-Foundation/FinRL-Tutorials/blob/master/1-Introduction/Stock_NeurIPS2018_SB3.ipynb) file, it is showing the following error:

  1. " from finrl_meta.preprocessor.yahoodownloader import YahooDownloader ModuleNotFoundError: No module named 'finrl_meta' "
  2. The same error is also pooping when running the following command: " from finrl.meta.preprocessor.preprocessors import FeatureEngineer, data_split

ModuleNotFoundError: No module named 'finrl.meta' "

  1. Also, one more error: " from finrl import config_tickers

ImportError: cannot import name 'config_tickers' from 'finrl' "

Need help with what I am doing wrong here.

I remember that it is re-named to "meta". As for the "config_tickers", may be you need to make sure the right path for the file.