Git Product home page Git Product logo

Comments (4)

yunfei-teng avatar yunfei-teng commented on September 26, 2024

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.

Madavan2304 avatar Madavan2304 commented on September 26, 2024

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.

yunfei-teng avatar yunfei-teng commented on September 26, 2024

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.

Madavan2304 avatar Madavan2304 commented on September 26, 2024

Noted with thanks

from finrl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.