Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colab installation Issue #5

Open
Daiiszuki opened this issue Apr 17, 2023 · 3 comments
Open

Colab installation Issue #5

Daiiszuki opened this issue Apr 17, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Daiiszuki
Copy link

Daiiszuki commented Apr 17, 2023

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?

@Daiiszuki
Copy link
Author

Running !pip3 install setuptools==65.5.0 before the installation solves the issue

@huijian222
Copy link

using pip install ta-lib==0.4.19 , i fix this

@Daiiszuki
Copy link
Author

@huijian222 Were you able to successfully download the train-Val data? I'm stuck as at #6

@YangletLiu YangletLiu added the bug Something isn't working label Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants