AI4Finance-Foundation / AI4Finance-Foundation/ElegantRL

Problem with running FinRL_PaperTrading_Demo.ipynb

Ouverte
#96 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
4.4k
Forks
978
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

First when installing FinRL ,i.e., executing

!pip install git+https://github.com/AI4Finance-LLC/FinRL-Library.git

I see the following error message:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-colab 1.0.0 requires requests~=2.23.0, but you have requests 2.27.1 which is incompatible.
datascience 0.10.6 requires folium==0.2.1, but you have folium 0.8.3 which is incompatible.

Second, when importing modules:
i.e., executing:

from finrl.train import train

I'm getting the following error messages:

ModuleNotFoundError Traceback (most recent call last)
in ()
----> 1 from finrl.train import train
2 from finrl.test import test
3 from finrl.apps.config import DOW_30_TICKER
4 from finrl.apps.config import TECHNICAL_INDICATORS_LIST
5 from finrl.finrl_meta.env_stock_trading.env_stocktrading_np import StockTradingEnv

1 frames
/usr/local/lib/python3.7/dist-packages/finrl/drl_agents/elegantrl/models.py in ()
7 from elegantrl.agents.AgentA2C import AgentA2C
8 from elegantrl.train.config import Arguments
----> 9 from elegantrl.train.run_tutorial import train_and_evaluate
10
11 MODELS = {"ddpg": AgentDDPG, "td3": AgentTD3, "sac": AgentSAC, "ppo": AgentPPO, "a2c": AgentA2C}

ModuleNotFoundError: No module named 'elegantrl.train.run_tutorial'

The above message is recent. Before I did receive this error message.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.