AI4Finance-Foundation / AI4Finance-Foundation/ElegantRL

Problem with running FinRL_PaperTrading_Demo.ipynb

Open
#96 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
4.4k
Forks
978
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.