Comments (4)
The error seems related to bdist_wheel
. Could you please try pip install Cmake
first as in python-setup-py-bdist-wheel-did-not-run-successfully?
from finrl.
Noted with thanks.
Same error after installing Cmake
Building wheels for collected packages: finrl, pyfolio, elegantrl, empyrical, thriftpy2, box2d-py, AutoROM.accept-rom-license
Building wheel for finrl (pyproject.toml) ... done
Created wheel for finrl: filename=finrl-0.3.6-py3-none-any.whl size=4691056 sha256=47b6c0a2ae3b1cba50f9dc944d5f43df14fef8ede607a7be235e6e60b1bdb204
Stored in directory: /tmp/pip-ephem-wheel-cache-pn7rfalf/wheels/40/f6/ea/58306b2c377114b2e0751b61b5238d7258c73aef59e189e85b
Building wheel for pyfolio (setup.py) ... done
Created wheel for pyfolio: filename=pyfolio-0.9.2-py3-none-any.whl size=88652 sha256=7321af24f916b3816155ad1f4c99cd1222b2340e7cd6a9915aac35c43654bc1f
Stored in directory: /root/.cache/pip/wheels/71/38/bc/e53700cfd8b0ad6b539d2fbaaf060ed8a299e7622a5b86ef42
Building wheel for elegantrl (setup.py) ... done
Created wheel for elegantrl: filename=ElegantRL-0.3.7-py3-none-any.whl size=197301 sha256=5e04b6274ca023268921afa94a618faea7abe9707199eab10cc316fa93979b37
Stored in directory: /tmp/pip-ephem-wheel-cache-pn7rfalf/wheels/c0/51/a5/b05f165548221bc570f7223babd33e2992fa873cdcebe2d229
Building wheel for empyrical (setup.py) ... done
Created wheel for empyrical: filename=empyrical-0.5.5-py3-none-any.whl size=39756 sha256=69eee45ba5aea27e0267197ae97c6f62dbc52da0de49534c6aa81a2ea004eae7
Stored in directory: /root/.cache/pip/wheels/0e/2e/f2/d6d2d9a1eb8fbbd9949bb5d4c00f753e3b74e5bd7ed10b1d36
Building wheel for thriftpy2 (pyproject.toml) ... done
Created wheel for thriftpy2: filename=thriftpy2-0.4.20-cp310-cp310-linux_x86_64.whl size=1388650 sha256=a75073bcc15b991561f8db8ec59936086f201c3bf4ccf94bd653fad3ccbdd397
Stored in directory: /root/.cache/pip/wheels/9b/1c/2f/97ec7c0e2a61885927d99666f593f1c3bed8a679cb56be635c
error: subprocess-exited-with-error
× python setup.py bdist_wheel 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.
Building wheel for box2d-py (setup.py) ... error
ERROR: Failed building wheel for box2d-py
Running setup.py clean for box2d-py
Building wheel for AutoROM.accept-rom-license (pyproject.toml) ... done
Created wheel for AutoROM.accept-rom-license: filename=AutoROM.accept_rom_license-0.6.1-py3-none-any.whl size=446659 sha256=a49dba52f86458f94f37fa1f6dbfdbd935f9fa6548850f34f463e231a7329511
Stored in directory: /root/.cache/pip/wheels/6b/1b/ef/a43ff1a2f1736d5711faa1ba4c1f61be1131b8899e6a057811
Successfully built finrl pyfolio elegantrl empyrical thriftpy2 AutoROM.accept-rom-license
Failed to build box2d-py
ERROR: Could not build wheels for box2d-py, which is required to install pyproject.toml-based projects
from finrl.
Noted with thanks.
Same error after installing Cmake
Building wheels for collected packages: finrl, pyfolio, elegantrl, empyrical, thriftpy2, box2d-py, AutoROM.accept-rom-license Building wheel for finrl (pyproject.toml) ... done Created wheel for finrl: filename=finrl-0.3.6-py3-none-any.whl size=4691056 sha256=47b6c0a2ae3b1cba50f9dc944d5f43df14fef8ede607a7be235e6e60b1bdb204 Stored in directory: /tmp/pip-ephem-wheel-cache-pn7rfalf/wheels/40/f6/ea/58306b2c377114b2e0751b61b5238d7258c73aef59e189e85b Building wheel for pyfolio (setup.py) ... done Created wheel for pyfolio: filename=pyfolio-0.9.2-py3-none-any.whl size=88652 sha256=7321af24f916b3816155ad1f4c99cd1222b2340e7cd6a9915aac35c43654bc1f Stored in directory: /root/.cache/pip/wheels/71/38/bc/e53700cfd8b0ad6b539d2fbaaf060ed8a299e7622a5b86ef42 Building wheel for elegantrl (setup.py) ... done Created wheel for elegantrl: filename=ElegantRL-0.3.7-py3-none-any.whl size=197301 sha256=5e04b6274ca023268921afa94a618faea7abe9707199eab10cc316fa93979b37 Stored in directory: /tmp/pip-ephem-wheel-cache-pn7rfalf/wheels/c0/51/a5/b05f165548221bc570f7223babd33e2992fa873cdcebe2d229 Building wheel for empyrical (setup.py) ... done Created wheel for empyrical: filename=empyrical-0.5.5-py3-none-any.whl size=39756 sha256=69eee45ba5aea27e0267197ae97c6f62dbc52da0de49534c6aa81a2ea004eae7 Stored in directory: /root/.cache/pip/wheels/0e/2e/f2/d6d2d9a1eb8fbbd9949bb5d4c00f753e3b74e5bd7ed10b1d36 Building wheel for thriftpy2 (pyproject.toml) ... done Created wheel for thriftpy2: filename=thriftpy2-0.4.20-cp310-cp310-linux_x86_64.whl size=1388650 sha256=a75073bcc15b991561f8db8ec59936086f201c3bf4ccf94bd653fad3ccbdd397 Stored in directory: /root/.cache/pip/wheels/9b/1c/2f/97ec7c0e2a61885927d99666f593f1c3bed8a679cb56be635c error: subprocess-exited-with-error
× python setup.py bdist_wheel 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. Building wheel for box2d-py (setup.py) ... error ERROR: Failed building wheel for box2d-py Running setup.py clean for box2d-py Building wheel for AutoROM.accept-rom-license (pyproject.toml) ... done Created wheel for AutoROM.accept-rom-license: filename=AutoROM.accept_rom_license-0.6.1-py3-none-any.whl size=446659 sha256=a49dba52f86458f94f37fa1f6dbfdbd935f9fa6548850f34f463e231a7329511 Stored in directory: /root/.cache/pip/wheels/6b/1b/ef/a43ff1a2f1736d5711faa1ba4c1f61be1131b8899e6a057811 Successfully built finrl pyfolio elegantrl empyrical thriftpy2 AutoROM.accept-rom-license Failed to build box2d-py ERROR: Could not build wheels for box2d-py, which is required to install pyproject.toml-based projects
The problem is not clearly indicated here and I haven't met this problem before. Could you please also try conda install swig
and sudo apt-get install g++
. If that is not working, maybe try to use a new environment as sometimes the conflicts happen implicitly.
from finrl.
Noted with thanks
from finrl.
Related Issues (20)
- Bug when importing HOT 1
- Same reward thought the training in DDPG
- backtest_plot() have internal problem associated with pandas version HOT 1
- YahooFinanceProcessor failure to download the market data HOT 2
- Full dataset normalization biases test set HOT 1
- Some Technical indicators not supported HOT 1
- Proof of RL viability for trading with data leakage HOT 2
- could not import finrl in google colab HOT 2
- SAC model on testing set is allocating same weights to a given TIC on consecutive days HOT 1
- Value error after running 50000 timesteps HOT 1
- how to save the model ? HOT 1
- Is there a way to look at the Expected Rewards of each timestamp in the testing set? HOT 3
- Is there a way to prevent the FinRL model from doing any Short selling HOT 1
- all the input array dimensions except for the concatenation axis must match exactly when running FinRL_PortfolioOptimizationEnv_Demo with CAC40 Data HOT 1
- Do train and test dataframes have to have the same column ordering ? HOT 1
- Can't reproduce test results with FinRL after restarting Jupyter Notebook Kernel HOT 3
- Does each TIC get access to ONLY its own technical features or does it get access to technical features of other TIC`s as well
- How does the tech_indicator_list work in the env_kwargs of FinRL?
- Question about portfolio optimization steps
- 'NoneType' object is not subscriptable in DRL_prediction.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finrl.