AI4Finance-Foundation / FinRL

FinRL: Financial Reinforcement Learning. 🔥
https://ai4finance.org
MIT License
9.91k stars 2.39k forks source link

Install FinRL library - fail #840

Closed kruzel closed 1 year ago

kruzel commented 1 year ago

this command fail: !pip install git+https://github.com/AI4Finance-Foundation/FinRL.git

results: Running command git clone --filter=blob:none --quiet https://github.com/AI4Finance-Foundation/FinRL.git 'C:\Users\o00494123\AppData\Local\Temp\pip-req-build-9ezxx0oj' Running command git clone --filter=blob:none --quiet https://github.com/AI4Finance-Foundation/ElegantRL.git 'C:\Users\o00494123\AppData\Local\Temp\pip-install-2rq3ux93\elegantrl_88282259f5a841b29297adcf2c823715' Running command git clone --filter=blob:none --quiet https://github.com/quantopian/pyfolio.git 'C:\Users\o00494123\AppData\Local\Temp\pip-install-2rq3ux93\pyfolio_18a0c4c5afa942afb66e752c4b4c5c89' ERROR: Could not find a version that satisfies the requirement ray[default,tune]==1.3.0 (from finrl) (from versions: none) ERROR: No matching distribution found for ray[default,tune]==1.3.0

Describe the bug ERROR: Could not find a version that satisfies the requirement ray[default,tune]==1.3.0 (from finrl) (from versions: none)

To Reproduce Steps to reproduce the behavior:

  1. !pip install git+https://github.com/AI4Finance-Foundation/FinRL.git

Expected behavior installation succeed

Screenshots image

Desktop (please complete the following information):

zhumingpassional commented 1 year ago

pls refer to docs: https://finrl.readthedocs.io/en/latest/start/installation.html

kruzel commented 1 year ago

hi ming, I'm using Windows 10 (wsl install) option. when I run any of the tutorials, when reach FinRL pip install I get the following error:

ERROR: Could not find a version that satisfies the requirement ray[default,tune]==1.3.0 (from finrl) (from versions: 1.13.0, 2.0.0rc0, 2.0.0rc1, 2.0.0, 2.0.1, 2.1.0, 2.2.0) ERROR: No matching distribution found for ray[default,tune]==1.3.0

my env is: pip 22.3.1, python 3.10

Thanks, Ofer

kruzel commented 1 year ago

same thing on windows

nexon33 commented 1 year ago

also have this error (windows), I tried multiple python versions from python 3.7.13 to python3.10.6

image

zhumingpassional commented 1 year ago

you may select a compatible version and install it. i used python 3.8 and it works

kruzel commented 1 year ago

other problems with 3.8.

Cloning https://github.com/AI4Finance-Foundation/FinRL.git to c:\users\o00494123\documents\mobaxterm\slash\var\log\xwin\pip-req-build-ks82cxjm Resolved https://github.com/AI4Finance-Foundation/FinRL.git to commit 2c22382c764586ad2fd4a9a9b904a4384c4f707a Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting pyfolio@ git+https://github.com/quantopian/pyfolio.git#egg=pyfolio-0.9.2 Cloning https://github.com/quantopian/pyfolio.git to c:\users\o00494123\documents\mobaxterm\slash\var\log\xwin\pip-install-kh7faaux\pyfolio_469dcaf094eb4274bcc0b254d543b228 Resolved https://github.com/quantopian/pyfolio.git to commit 4b901f6d73aa02ceb6d04b7d83502e5c6f2e81aa Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting elegantrl@ git+https://github.com/AI4Finance-Foundation/ElegantRL.git#egg=elegantrl Cloning https://github.com/AI4Finance-Foundation/ElegantRL.git to c:\users\o00494123\documents\mobaxterm\slash\var\log\xwin\pip-install-kh7faaux\elegantrl_4e9e8b215e9248939864bf92067b449d Resolved https://github.com/AI4Finance-Foundation/ElegantRL.git to commit b447f3a04993e0ab8fc11017c1b20c6d560f493b Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting stable-baselines3<2.0.0,>=1.6.2 Using cached stable_baselines3-1.6.2-py3-none-any.whl (170 kB) Collecting gputil Using cached GPUtil-1.4.0.tar.gz (5.5 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pandas>=1.1.5 Downloading pandas-1.5.2-cp38-cp38-win_amd64.whl (11.0 MB) ---------------------------------------- 11.0/11.0 MB 9.2 MB/s eta 0:00:00 Collecting alpaca_trade_api>=2.1.0 Using cached alpaca_trade_api-2.3.0-py3-none-any.whl (33 kB) Collecting numpy>=1.17.3 Downloading numpy-1.24.1-cp38-cp38-win_amd64.whl (14.9 MB) ---------------------------------------- 14.9/14.9 MB 9.9 MB/s eta 0:00:00 Collecting scikit-learn>=0.21.0 Downloading scikit_learn-1.2.0-cp38-cp38-win_amd64.whl (8.2 MB) ---------------------------------------- 8.2/8.2 MB 10.3 MB/s eta 0:00:00 Collecting gym>=0.17 Using cached gym-0.26.2.tar.gz (721 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting tensorboardX Using cached tensorboardX-2.5.1-py2.py3-none-any.whl (125 kB) Collecting lz4 Downloading lz4-4.2.0-cp38-cp38-win_amd64.whl (99 kB) ---------------------------------------- 99.9/99.9 kB 5.6 MB/s eta 0:00:00 Collecting matplotlib Downloading matplotlib-3.6.2-cp38-cp38-win_amd64.whl (7.2 MB) ---------------------------------------- 7.2/7.2 MB 8.1 MB/s eta 0:00:00 Collecting ray[default,tune]==1.3.0 Downloading ray-1.3.0-cp38-cp38-win_amd64.whl (15.5 MB) ---------------------------------------- 15.5/15.5 MB 3.5 MB/s eta 0:00:00 Collecting stockstats>=0.4.0 Using cached stockstats-0.5.1-py2.py3-none-any.whl (20 kB) Collecting jqdatasdk Using cached jqdatasdk-1.8.11-py3-none-any.whl (158 kB) Collecting ccxt>=1.66.32 Downloading ccxt-2.4.72-py2.py3-none-any.whl (3.4 MB) ---------------------------------------- 3.4/3.4 MB 7.4 MB/s eta 0:00:00 Collecting yfinance Using cached yfinance-0.2.3-py2.py3-none-any.whl (50 kB) Collecting exchange_calendars==3.6.3 Using cached exchange_calendars-3.6.3.tar.gz (152 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting importlib-metadata==4.13.0 Using cached importlib_metadata-4.13.0-py3-none-any.whl (23 kB) Collecting pyluach Using cached pyluach-2.0.2-py3-none-any.whl (22 kB) Collecting python-dateutil Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting pytz Using cached pytz-2022.7-py2.py3-none-any.whl (499 kB) Collecting toolz Using cached toolz-0.12.0-py3-none-any.whl (55 kB) Collecting korean_lunar_calendar Using cached korean_lunar_calendar-0.3.1-py3-none-any.whl (9.0 kB) Collecting zipp>=0.5 Using cached zipp-3.11.0-py3-none-any.whl (6.6 kB) Collecting colorama Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting filelock Using cached filelock-3.9.0-py3-none-any.whl (9.7 kB) Collecting jsonschema Using cached jsonschema-4.17.3-py3-none-any.whl (90 kB) Collecting msgpack<2.0.0,>=1.0.0 Downloading msgpack-1.0.4-cp38-cp38-win_amd64.whl (62 kB) ---------------------------------------- 62.2/62.2 kB 3.5 MB/s eta 0:00:00 Collecting protobuf>=3.15.3 Downloading protobuf-4.21.12-cp38-cp38-win_amd64.whl (527 kB) -------------------------------------- 527.0/527.0 kB 6.6 MB/s eta 0:00:00 Collecting aiohttp-cors Using cached aiohttp_cors-0.7.0-py3-none-any.whl (27 kB) Collecting pyyaml Downloading PyYAML-6.0-cp38-cp38-win_amd64.whl (155 kB) -------------------------------------- 155.4/155.4 kB 9.7 MB/s eta 0:00:00 Collecting aiohttp Downloading aiohttp-3.8.3-cp38-cp38-win_amd64.whl (324 kB) -------------------------------------- 324.3/324.3 kB 9.8 MB/s eta 0:00:00 Collecting opencensus Using cached opencensus-0.11.0-py2.py3-none-any.whl (128 kB) Collecting redis>=3.5.0 Using cached redis-4.4.0-py3-none-any.whl (236 kB) Collecting click>=7.0 Using cached click-8.1.3-py3-none-any.whl (96 kB) Collecting requests Using cached requests-2.28.1-py3-none-any.whl (62 kB) Collecting gpustat Using cached gpustat-1.0.0.tar.gz (90 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting py-spy>=0.2.0 Using cached py_spy-0.3.14-py2.py3-none-win_amd64.whl (1.4 MB) Collecting aioredis Using cached aioredis-2.0.1-py3-none-any.whl (71 kB) Collecting prometheus-client>=0.7.1 Using cached prometheus_client-0.15.0-py3-none-any.whl (60 kB) Collecting grpcio>=1.28.1 Downloading grpcio-1.51.1-cp38-cp38-win_amd64.whl (3.7 MB) ---------------------------------------- 3.7/3.7 MB 8.9 MB/s eta 0:00:00 Collecting colorful Using cached colorful-0.5.5-py2.py3-none-any.whl (201 kB) Collecting tabulate Using cached tabulate-0.9.0-py3-none-any.whl (35 kB) Collecting websocket-client<2,>=0.56.0 Using cached websocket_client-1.4.2-py3-none-any.whl (55 kB) Collecting aiohttp Downloading aiohttp-3.8.1-cp38-cp38-win_amd64.whl (555 kB) -------------------------------------- 556.0/556.0 kB 8.8 MB/s eta 0:00:00 Collecting msgpack<2.0.0,>=1.0.0 Downloading msgpack-1.0.3-cp38-cp38-win_amd64.whl (69 kB) ---------------------------------------- 69.8/69.8 kB ? eta 0:00:00 Collecting urllib3<2,>1.24 Using cached urllib3-1.26.13-py2.py3-none-any.whl (140 kB) Collecting deprecation==2.1.0 Using cached deprecation-2.1.0-py2.py3-none-any.whl (11 kB) Collecting websockets<11,>=9.0 Downloading websockets-10.4-cp38-cp38-win_amd64.whl (101 kB) -------------------------------------- 101.4/101.4 kB 2.0 MB/s eta 0:00:00 Collecting async-timeout<5.0,>=4.0.0a3 Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting multidict<7.0,>=4.5 Downloading multidict-6.0.4-cp38-cp38-win_amd64.whl (28 kB) Collecting yarl<2.0,>=1.0 Downloading yarl-1.8.2-cp38-cp38-win_amd64.whl (56 kB) ---------------------------------------- 56.9/56.9 kB 1.5 MB/s eta 0:00:00 Collecting attrs>=17.3.0 Using cached attrs-22.2.0-py3-none-any.whl (60 kB) Collecting aiosignal>=1.1.2 Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting frozenlist>=1.1.1 Downloading frozenlist-1.3.3-cp38-cp38-win_amd64.whl (34 kB) Collecting charset-normalizer<3.0,>=2.0 Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting packaging Using cached packaging-22.0-py3-none-any.whl (42 kB) Requirement already satisfied: setuptools>=60.9.0 in c:\dev\trading\trading_venv\lib\site-packages (from ccxt>=1.66.32->finrl==0.3.5) (65.6.3) Collecting cryptography>=2.6.1 Using cached cryptography-38.0.4-cp36-abi3-win_amd64.whl (2.4 MB) Collecting certifi>=2018.1.18 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB) Collecting aiodns>=1.1.1 Using cached aiodns-3.0.0-py3-none-any.whl (5.0 kB) Collecting gym-notices>=0.0.4 Using cached gym_notices-0.0.8-py3-none-any.whl (3.0 kB) Collecting cloudpickle>=1.2.0 Using cached cloudpickle-2.2.0-py3-none-any.whl (25 kB) Collecting threadpoolctl>=2.0.0 Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Collecting scipy>=1.3.2 Downloading scipy-1.9.3-cp38-cp38-win_amd64.whl (39.8 MB) ---------------------------------------- 39.8/39.8 MB 8.4 MB/s eta 0:00:00 Collecting joblib>=1.1.1 Using cached joblib-1.2.0-py3-none-any.whl (297 kB) Collecting gym>=0.17 Using cached gym-0.21.0.tar.gz (1.5 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting torch>=1.11 Downloading torch-1.13.1-cp38-cp38-win_amd64.whl (162.6 MB) -------------------------------------- 162.6/162.6 MB 6.1 MB/s eta 0:00:00 Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting pymysql>=0.7.6 Using cached PyMySQL-1.0.2-py3-none-any.whl (43 kB) Collecting SQLAlchemy>=1.2.8 Downloading SQLAlchemy-1.4.45-cp38-cp38-win_amd64.whl (1.6 MB) ---------------------------------------- 1.6/1.6 MB 9.1 MB/s eta 0:00:00 Collecting thriftpy2>=0.3.9 Using cached thriftpy2-0.4.16.tar.gz (643 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pillow>=6.2.0 Downloading Pillow-9.3.0-cp38-cp38-win_amd64.whl (2.5 MB) ---------------------------------------- 2.5/2.5 MB 9.3 MB/s eta 0:00:00 Collecting cycler>=0.10 Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting fonttools>=4.22.0 Using cached fonttools-4.38.0-py3-none-any.whl (965 kB) Collecting pyparsing>=2.2.1 Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB) Collecting contourpy>=1.0.1 Downloading contourpy-1.0.6-cp38-cp38-win_amd64.whl (163 kB) ------------------------------------- 163.5/163.5 kB 10.2 MB/s eta 0:00:00 Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.4.4-cp38-cp38-win_amd64.whl (55 kB) ---------------------------------------- 55.4/55.4 kB 3.0 MB/s eta 0:00:00 Collecting ipython>=3.2.3 Downloading ipython-8.7.0-py3-none-any.whl (761 kB) -------------------------------------- 761.7/761.7 kB 8.1 MB/s eta 0:00:00 Collecting seaborn>=0.7.1 Using cached seaborn-0.12.1-py3-none-any.whl (288 kB) Collecting empyrical>=0.5.0 Using cached empyrical-0.5.5.tar.gz (52 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting protobuf>=3.15.3 Downloading protobuf-3.20.1-cp38-cp38-win_amd64.whl (904 kB) -------------------------------------- 904.4/904.4 kB 9.5 MB/s eta 0:00:00 Collecting appdirs>=1.4.4 Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting frozendict>=2.3.4 Downloading frozendict-2.3.4-cp38-cp38-win_amd64.whl (34 kB) Collecting beautifulsoup4>=4.11.1 Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB) Collecting lxml>=4.9.1 Downloading lxml-4.9.2-cp38-cp38-win_amd64.whl (3.9 MB) ---------------------------------------- 3.9/3.9 MB 9.6 MB/s eta 0:00:00 Collecting multitasking>=0.0.7 Using cached multitasking-0.0.11-py3-none-any.whl (8.5 kB) Collecting html5lib>=1.1 Using cached html5lib-1.1-py2.py3-none-any.whl (112 kB) Collecting pycares>=4.0.0 Downloading pycares-4.3.0-cp38-cp38-win_amd64.whl (76 kB) ---------------------------------------- 76.3/76.3 kB 4.1 MB/s eta 0:00:00 Collecting soupsieve>1.2 Downloading soupsieve-2.3.2.post1-py3-none-any.whl (37 kB) Collecting cffi>=1.12 Downloading cffi-1.15.1-cp38-cp38-win_amd64.whl (178 kB) ------------------------------------- 178.8/178.8 kB 11.2 MB/s eta 0:00:00 Collecting pandas-datareader>=0.2 Using cached pandas_datareader-0.10.0-py3-none-any.whl (109 kB) Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting pickleshare Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB) Collecting traitlets>=5 Using cached traitlets-5.8.0-py3-none-any.whl (116 kB) Collecting stack-data Downloading stack_data-0.6.2-py3-none-any.whl (24 kB) Collecting prompt-toolkit<3.1.0,>=3.0.11 Using cached prompt_toolkit-3.0.36-py3-none-any.whl (386 kB) Collecting matplotlib-inline Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB) Collecting decorator Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting pygments>=2.4.0 Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB) Collecting jedi>=0.16 Using cached jedi-0.18.2-py2.py3-none-any.whl (1.6 MB) Collecting backcall Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB) Collecting idna<4,>=2.5 Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting greenlet!=0.4.17 Downloading greenlet-2.0.1-cp38-cp38-win_amd64.whl (190 kB) -------------------------------------- 190.7/190.7 kB 3.8 MB/s eta 0:00:00 Collecting ply<4.0,>=3.4 Using cached ply-3.11-py2.py3-none-any.whl (49 kB) Collecting typing-extensions Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting nvidia-ml-py<=11.495.46,>=11.450.129 Using cached nvidia_ml_py-11.495.46-py3-none-any.whl (25 kB) Collecting psutil>=5.6.0 Using cached psutil-5.9.4-cp36-abi3-win_amd64.whl (252 kB) Collecting blessed>=1.17.1 Using cached blessed-1.19.1-py2.py3-none-any.whl (58 kB) Collecting gym[box2d] Using cached gym-0.26.1.tar.gz (719 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached gym-0.26.0.tar.gz (710 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached gym-0.25.2.tar.gz (734 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached gym-0.25.1.tar.gz (732 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached gym-0.25.0.tar.gz (720 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached gym-0.24.1.tar.gz (696 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached gym-0.24.0.tar.gz (694 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached gym-0.23.1.tar.gz (626 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached gym-0.23.0.tar.gz (624 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Using cached gym-0.22.0.tar.gz (631 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting box2d-py==2.3.5 Using cached box2d-py-2.3.5.tar.gz (374 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pyglet>=1.4.0 Using cached pyglet-2.0.2.1-py3-none-any.whl (964 kB) Collecting pkgutil-resolve-name>=1.3.10 Using cached pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB) Collecting importlib-resources>=1.4.0 Downloading importlib_resources-5.10.2-py3-none-any.whl (34 kB) Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading pyrsistent-0.19.3-cp38-cp38-win_amd64.whl (62 kB) ---------------------------------------- 62.7/62.7 kB 3.3 MB/s eta 0:00:00 Collecting google-api-core<3.0.0,>=1.0.0 Using cached google_api_core-2.11.0-py3-none-any.whl (120 kB) Collecting opencensus-context>=0.1.3 Using cached opencensus_context-0.1.3-py2.py3-none-any.whl (5.1 kB) Collecting wcwidth>=0.1.4 Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB) Collecting jinxed>=1.1.0 Using cached jinxed-1.2.0-py2.py3-none-any.whl (33 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting protobuf>=3.15.3 Downloading protobuf-3.19.6-cp38-cp38-win_amd64.whl (896 kB) -------------------------------------- 896.1/896.1 kB 9.4 MB/s eta 0:00:00 Collecting googleapis-common-protos<2.0dev,>=1.56.2 Using cached googleapis_common_protos-1.57.0-py2.py3-none-any.whl (217 kB) Collecting google-auth<3.0dev,>=2.14.1 Using cached google_auth-2.15.0-py2.py3-none-any.whl (177 kB) Collecting parso<0.9.0,>=0.8.0 Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB) Collecting pure-eval Downloading pure_eval-0.2.2-py3-none-any.whl (11 kB) Collecting asttokens>=2.1.0 Downloading asttokens-2.2.1-py2.py3-none-any.whl (26 kB) Collecting executing>=1.2.0 Downloading executing-1.2.0-py2.py3-none-any.whl (24 kB) Collecting rsa<5,>=3.1.4 Using cached rsa-4.9-py3-none-any.whl (34 kB) Collecting pyasn1-modules>=0.2.1 Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) Collecting cachetools<6.0,>=2.0.0 Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB) Collecting ansicon Using cached ansicon-1.89.0-py2.py3-none-any.whl (63 kB) Collecting pyasn1<0.5.0,>=0.4.6 Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Building wheels for collected packages: finrl, exchange_calendars, gym, elegantrl, gputil, pyfolio, empyrical, thriftpy2, gpustat, box2d-py Building wheel for finrl (pyproject.toml): started Building wheel for finrl (pyproject.toml): finished with status 'done' Created wheel for finrl: filename=finrl-0.3.5-py3-none-any.whl size=2762232 sha256=ed29115447717fc9fda25c627d405f4f658977f900540a54304908ad1f631f4c Stored in directory: C:\Users\o00494123\Documents\MobaXterm\slash\var\log\xwin\pip-ephem-wheel-cache-462zlevm\wheels\40\83\3b\1fdae3cf52844e165828ceb467518b7a110a263cbd6a2282be Building wheel for exchange_calendars (setup.py): started Building wheel for exchange_calendars (setup.py): finished with status 'done' Created wheel for exchange_calendars: filename=exchange_calendars-3.6.3-py3-none-any.whl size=182662 sha256=7698dee1a3e98da8c312cdeac160179a02b08345d2319eda099bcd81b0590cc2 Stored in directory: c:\users\o00494123\appdata\local\pip\cache\wheels\b8\e8\fd\2576f761593286366738f8064db9ab1d67bc87fc6e3668fc38 Building wheel for gym (setup.py): started Building wheel for gym (setup.py): finished with status 'done' Created wheel for gym: filename=gym-0.21.0-py3-none-any.whl size=1616808 sha256=06320f0c4493bd27656c9f3285de1b7962fe904db42a4a4de9efa8aa5d504bdc Stored in directory: c:\users\o00494123\appdata\local\pip\cache\wheels\7a\2e\15\b9642e5913560f946cf8b27f8654e095437c17cada3d5b809e Building wheel for elegantrl (setup.py): started Building wheel for elegantrl (setup.py): finished with status 'done' Created wheel for elegantrl: filename=elegantrl-0.3.5-py3-none-any.whl size=364708 sha256=013bc8e4b6c8bbc3df3cca201447ae08db6fa24fc18f85c64791d89b0f08309d Stored in directory: C:\Users\o00494123\Documents\MobaXterm\slash\var\log\xwin\pip-ephem-wheel-cache-462zlevm\wheels\d6\fb\88\7d5e5490b35f78191267fee312ce81baac55c6b9d89151e72a Building wheel for gputil (setup.py): started Building wheel for gputil (setup.py): finished with status 'done' Created wheel for gputil: filename=GPUtil-1.4.0-py3-none-any.whl size=7400 sha256=30a64aa21135349159d7d15db89693b31ada8617128c65fd6c7782cbafd974a6 Stored in directory: c:\users\o00494123\appdata\local\pip\cache\wheels\0f\d6\bc\81bb079b0a87885354d6c32d323698a718a125cd65955155d8 Building wheel for pyfolio (setup.py): started Building wheel for pyfolio (setup.py): finished with status 'done' Created wheel for pyfolio: filename=pyfolio-0.9.2+75.g4b901f6-py3-none-any.whl size=76272 sha256=e38819b07216aaf223f5b24fc15dd3d74924c5065867db8d5cc5b70114555343 Stored in directory: C:\Users\o00494123\Documents\MobaXterm\slash\var\log\xwin\pip-ephem-wheel-cache-462zlevm\wheels\7b\59\8b\3c276a18b58c04a1fd0e1351e979fb5396f93fbde5b5438df1 Building wheel for empyrical (setup.py): started Building wheel for empyrical (setup.py): finished with status 'done' Created wheel for empyrical: filename=empyrical-0.5.5-py3-none-any.whl size=39786 sha256=b17e85cf2b0dc5a2f5098e34a40153fb86b85283392fdf9565c8ad020d8db71d Stored in directory: c:\users\o00494123\appdata\local\pip\cache\wheels\c6\38\19\d1d42e31900b907ffa59bc1673c16ab7a34bdc1190ee2df481 Building wheel for thriftpy2 (setup.py): started Building wheel for thriftpy2 (setup.py): finished with status 'done' Created wheel for thriftpy2: filename=thriftpy2-0.4.16-py2.py3-none-any.whl size=337256 sha256=cc0f10eea229fd2d4f2cc015619bf92466a4216e866c481178d5172b338b6202 Stored in directory: c:\users\o00494123\appdata\local\pip\cache\wheels\ec\3c\9d\a53dd97b3668f46d97bc6fafa77340f65d435fa37a17dea5b9 Building wheel for gpustat (setup.py): started Building wheel for gpustat (setup.py): finished with status 'done' Created wheel for gpustat: filename=gpustat-1.0.0-py3-none-any.whl size=19903 sha256=94349a2cb745bce49695b4e8d690b7f399593cfadce7ae87ec6edd2ecdc04ef5 Stored in directory: c:\users\o00494123\appdata\local\pip\cache\wheels\6a\96\11\78bcae150964c84c01bd3e8f1f17afd86b14a0441095b572c7 Building wheel for box2d-py (setup.py): started Building wheel for box2d-py (setup.py): finished with status 'error' Running setup.py clean for box2d-py Successfully built finrl exchange_calendars gym elegantrl gputil pyfolio empyrical thriftpy2 gpustat Failed to build box2d-py Installing collected packages: webencodings, wcwidth, pytz, pyglet, pyasn1, py-spy, pure-eval, ply, pickleshare, opencensus-context, nvidia-ml-py, multitasking, msgpack, korean_lunar_calendar, gputil, executing, box2d-py, backcall, appdirs, ansicon, zipp, websockets, websocket-client, urllib3, typing-extensions, traitlets, toolz, threadpoolctl, tabulate, soupsieve, six, rsa, pyyaml, pyrsistent, pyparsing, pymysql, pyluach, pygments, pycparser, pyasn1-modules, psutil, protobuf, prompt-toolkit, prometheus-client, pkgutil-resolve-name, pillow, parso, packaging, numpy, multidict, lz4, lxml, kiwisolver, joblib, jinxed, idna, grpcio, greenlet, frozenlist, frozendict, fonttools, filelock, decorator, cycler, colorama, cloudpickle, charset-normalizer, certifi, cachetools, attrs, async-timeout, yarl, torch, thriftpy2, tensorboardX, SQLAlchemy, scipy, requests, redis, python-dateutil, matplotlib-inline, jedi, importlib-resources, importlib-metadata, html5lib, gym, googleapis-common-protos, google-auth, deprecation, contourpy, colorful, click, cffi, blessed, beautifulsoup4, asttokens, aiosignal, aioredis, stack-data, scikit-learn, pycares, pandas, matplotlib, jsonschema, gpustat, google-api-core, cryptography, aiohttp, yfinance, stockstats, stable-baselines3, seaborn, pandas-datareader, opencensus, jqdatasdk, ipython, exchange_calendars, elegantrl, alpaca_trade_api, aiohttp-cors, aiodns, ray, empyrical, ccxt, pyfolio, finrl Running setup.py install for box2d-py: started Running setup.py install for box2d-py: finished with status 'error'

nexon33 commented 1 year ago

to succesfully install FinRL use python 3.8.0 with anaconda and then do conda install -c conda-forge swig and conda install -c conda-forge ta-lib or if that fails follow the tutorial of https://blog.quantinsti.com/install-ta-lib-python/

how to install FinRL-meta together with FinRL is still a mistery to me.

zhumingpassional commented 1 year ago

you can download FinRL-meta.zip directly and move it to your dir

nexon33 commented 1 year ago

you can download FinRL-meta.zip directly and move it to your dir

Can you give me more info? I want to setup finrl and finrlmeta together on the same anaconda env. I have no idea how to accomplish this as I keep getting errors. A walkthrough would be nice

zhumingpassional commented 1 year ago

I mean unzip FinRL-meta.zip, and then move FinRL-meta to your work space, not anaconda.sitepackages @nexon33

kruzel commented 1 year ago

to succesfully install FinRL use python 3.8.0 with anaconda and then do conda install -c conda-forge swig and conda install -c conda-forge ta-lib or if that fails follow the tutorial of https://blog.quantinsti.com/install-ta-lib-python/

how to install FinRL-meta together with FinRL is still a mistery to me.

also need to install visual studio build tools

kruzel commented 1 year ago

to succesfully install FinRL use python 3.8.0 with anaconda and then do conda install -c conda-forge swig and conda install -c conda-forge ta-lib or if that fails follow the tutorial of https://blog.quantinsti.com/install-ta-lib-python/ how to install FinRL-meta together with FinRL is still a mistery to me.

also need to install visual studio build tools

now at the end of the finrl install I get this: image

end the next block fail: image

kruzel commented 1 year ago

also in FinRL-Tutorials/1-Introduction/Stock_NeurIPS2018_SB3.ipynb

image

kruzel commented 1 year ago

hi problem solved, when I use only FinRL git, and install using 'pip install .' I can run the python examples, for example: Stock_NeurIPS2018_SB3.py but in order to make notebooks run need to 'pip install jupyterlab' within the venv.