AI4Finance-Foundation / AI4Finance-Foundation/ElegantRL

Problem with running FinRL_PaperTrading_Demo.ipynb

Đang mở
#96 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
4.4k
Fork
978
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.