AI4Finance-Foundation / AI4Finance-Foundation/FinRL_Crypto

Colab installation Issue

未關閉
#5 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
201
分支
88
PR 合併指標
30 天內沒有已合併 PR

描述

Environment: Colab

I am trying to use run the `0_dl_trainval_data.py` file, but receiving multiple errors after. It seems the issue is with the in finrl installation. I initially tried to install using` pip install -r requirements.txt`, which resulted in

```
× python [setup.py](http://setup.py/) egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed
```

Then I tried to downgrade to v65.5 using :

`!pip3 install setuptools==65.5.0`

with no luck.

Finally, I tried using the recommended way;

```
!pip install wrds
!pip install swig
!pip install git+https://github.com/AI4Finance-Foundation/FinRl.git
```

followed by:

```
!git clone https://github.com/AI4Finance-Foundation/FinRL-Meta
%cd /FinRL-Meta/
!pip install git+https://github.com/AI4Finance-LLC/ElegantRL.git
```

Even after all that, I got

`No module named binance `

then ran `pip install python-binance ` with success. Re-runing the file led to;

`No module named Ta-Lib` which I tried to install using;

```
#install talib
!wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
!tar xvzf ta-lib-0.4.0-src.tar.gz
import os
os.chdir('ta-lib')
!./configure --prefix=/usr
!make
!make install
os.chdir('../')
!pip install TA-Lib
```

With no luck.

Is there something I could be doing wrong?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。