user@hakcar-ThinkPad-T15g-Gen-1:/$ python --version
Python 3.11.2
user@hakcar-ThinkPad-T15g-Gen-1:/$ pip install reeds-shepp
Collecting reeds-shepp
Using cached reeds_shepp-1.0.7.tar.gz (45 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: reeds-shepp
Building wheel for reeds-shepp (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
running build
running build_ext
skipping 'reeds_shepp/reeds_shepp.cpp' Cython extension (up-to-date)
building 'reeds_shepp' extension
creating build
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/reeds_shepp
creating build/temp.linux-x86_64-cpython-311/reeds_shepp/src
x86_64-linux-gnu-gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Ireeds_shepp/include -I/opt/venv/include -I/usr/include/python3.11 -c reeds_shepp/reeds_shepp.cpp -o build/temp.linux-x86_64-cpython-311/reeds_shepp/reeds_shepp.o
reeds_shepp/reeds_shepp.cpp:196:12: fatal error: longintrepr.h: No such file or directory
196 | #include "longintrepr.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-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 reeds-shepp
Running setup.py clean for reeds-shepp
Failed to build reeds-shepp
Installing collected packages: reeds-shepp
Running setup.py install for reeds-shepp ... error
error: subprocess-exited-with-error
× Running setup.py install for reeds-shepp did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running install
/opt/venv/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_ext
skipping 'reeds_shepp/reeds_shepp.cpp' Cython extension (up-to-date)
building 'reeds_shepp' extension
creating build
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/reeds_shepp
creating build/temp.linux-x86_64-cpython-311/reeds_shepp/src
x86_64-linux-gnu-gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Ireeds_shepp/include -I/opt/venv/include -I/usr/include/python3.11 -c reeds_shepp/reeds_shepp.cpp -o build/temp.linux-x86_64-cpython-311/reeds_shepp/reeds_shepp.o
reeds_shepp/reeds_shepp.cpp:196:12: fatal error: longintrepr.h: No such file or directory
196 | #include "longintrepr.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-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: legacy-install-failure
× Encountered error while trying to install package.
╰─> reeds-shepp
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Hi,
It seems that its not possible to install this package on python 3.11: