AI4Finance-Foundation / AI4Finance-Foundation/FinRL_Crypto

Colab installation Issue

Aperta
#5 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
201
Fork
88
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.