ignc-research / IR-DRL

A training and testing platform for Industrial Robot applications.
34 stars 6 forks source link

ERROR: Failed building wheel for ghalton #3

Open 17862916927 opened 1 year ago

17862916927 commented 1 year ago

hello, my pc :ubuntu18.04,python3.10,it always shows:error: subprocess-exited-with-error

× Building wheel for ghalton (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [16 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/ghalton copying ghalton/constants.py -> build/lib.linux-x86_64-cpython-310/ghalton copying ghalton/init.py -> build/lib.linux-x86_64-cpython-310/ghalton copying ghalton/ghalton_wrapper.py -> build/lib.linux-x86_64-cpython-310/ghalton running build_ext building 'ghalton._ghalton_wrapper' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/src gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/sun/.virtualenvs/irdrl/include -I/usr/local/include/python3.10 -c src/Halton.cpp -o build/temp.linux-x86_64-cpython-310/src/Halton.o -stdlib=libc++ gcc: error: unrecognized command line option ‘-stdlib=libc++’ error: command '/usr/bin/gcc' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ghalton Successfully built sb3-contrib Failed to build ghalton ERROR: Could not build wheels for ghalton, which is required to install pyproject.toml-based projects

and i tried to install ghalton by command 'python3 -m pip install ghalton-0.6.2-cp27-cp27m-manylinux2010_x86_64.whl ',but it shows:'ERROR: ghalton-0.6.2-cp27-cp27m-manylinux2010_x86_64.whl is not a supported wheel on this platform. '. then i tried other .whl ,but all failed. could u please give me some suggestions ? thanks a lot