Open skilfoy opened 2 years ago
Readline fails to install when running pip3 install -r requirements.txt. Any suggestions?
pip3 install -r requirements.txt
Here's the error text I get:
Building wheels for collected packages: readline Building wheel for readline (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v9w8jo9p/readline_d73de34ec1e644d9a96849246be005b7/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v9w8jo9p/readline_d73de34ec1e644d9a96849246be005b7/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-2dqnu68l cwd: /tmp/pip-install-v9w8jo9p/readline_d73de34ec1e644d9a96849246be005b7/ Complete output (256 lines): ============ Building the readline library ============ readline-6.2/ readline-6.2/doc/ readline-6.2/doc/Makefile.in readline-6.2/doc/texinfo.tex readline-6.2/doc/version.texi readline-6.2/doc/fdl.texi readline-6.2/doc/rlman.texi readline-6.2/doc/rltech.texi readline-6.2/doc/rluser.texi readline-6.2/doc/rluserman.texi readline-6.2/doc/history.texi readline-6.2/doc/hstech.texi readline-6.2/doc/hsuser.texi readline-6.2/doc/readline.3 readline-6.2/doc/history.3 readline-6.2/doc/texi2dvi readline-6.2/doc/texi2html readline-6.2/doc/readline.ps readline-6.2/doc/history.ps readline-6.2/doc/rluserman.ps readline-6.2/doc/readline.dvi readline-6.2/doc/history.dvi readline-6.2/doc/rluserman.dvi readline-6.2/doc/readline.info readline-6.2/doc/history.info readline-6.2/doc/rluserman.info readline-6.2/doc/readline.html readline-6.2/doc/history.html readline-6.2/doc/rluserman.html readline-6.2/doc/readline.0 readline-6.2/doc/history.0 readline-6.2/doc/readline_3.ps readline-6.2/doc/history_3.ps readline-6.2/doc/history.pdf readline-6.2/doc/readline.pdf readline-6.2/doc/rluserman.pdf readline-6.2/examples/ readline-6.2/examples/autoconf/ readline-6.2/examples/autoconf/BASH_CHECK_LIB_TERMCAP readline-6.2/examples/autoconf/RL_LIB_READLINE_VERSION readline-6.2/examples/autoconf/wi_LIB_READLINE readline-6.2/examples/rlfe/ readline-6.2/examples/rlfe/ChangeLog readline-6.2/examples/rlfe/Makefile.in readline-6.2/examples/rlfe/README readline-6.2/examples/rlfe/config.h.in readline-6.2/examples/rlfe/configure readline-6.2/examples/rlfe/configure.in readline-6.2/examples/rlfe/extern.h readline-6.2/examples/rlfe/os.h readline-6.2/examples/rlfe/pty.c readline-6.2/examples/rlfe/rlfe.c readline-6.2/examples/rlfe/screen.h readline-6.2/examples/Makefile.in readline-6.2/examples/excallback.c readline-6.2/examples/fileman.c readline-6.2/examples/manexamp.c readline-6.2/examples/readlinebuf.h readline-6.2/examples/rl-fgets.c readline-6.2/examples/rlcat.c readline-6.2/examples/rlevent.c readline-6.2/examples/rltest.c readline-6.2/examples/rl.c readline-6.2/examples/rlptytest.c readline-6.2/examples/rlversion.c readline-6.2/examples/histexamp.c readline-6.2/examples/Inputrc readline-6.2/examples/rlwrap-0.30.tar.gz readline-6.2/support/ readline-6.2/support/config.guess readline-6.2/support/config.rpath readline-6.2/support/config.sub readline-6.2/support/install.sh readline-6.2/support/mkdirs readline-6.2/support/mkdist readline-6.2/support/mkinstalldirs readline-6.2/support/shobj-conf readline-6.2/support/shlib-install readline-6.2/support/wcwidth.c readline-6.2/shlib/ readline-6.2/shlib/Makefile.in readline-6.2/COPYING readline-6.2/README readline-6.2/MANIFEST readline-6.2/INSTALL readline-6.2/CHANGELOG readline-6.2/CHANGES readline-6.2/NEWS readline-6.2/USAGE readline-6.2/aclocal.m4 readline-6.2/config.h.in readline-6.2/configure readline-6.2/configure.in readline-6.2/Makefile.in readline-6.2/ansi_stdlib.h readline-6.2/chardefs.h readline-6.2/history.h readline-6.2/histlib.h readline-6.2/keymaps.h readline-6.2/posixdir.h readline-6.2/posixjmp.h readline-6.2/readline.h readline-6.2/posixselect.h readline-6.2/posixstat.h readline-6.2/rlconf.h readline-6.2/rldefs.h readline-6.2/rlmbutil.h readline-6.2/rlprivate.h readline-6.2/rlshell.h readline-6.2/rlstdc.h readline-6.2/rltty.h readline-6.2/rltypedefs.h readline-6.2/rlwinsize.h readline-6.2/tcap.h readline-6.2/tilde.h readline-6.2/xmalloc.h readline-6.2/bind.c readline-6.2/callback.c readline-6.2/compat.c readline-6.2/complete.c readline-6.2/display.c readline-6.2/emacs_keymap.c readline-6.2/funmap.c readline-6.2/input.c readline-6.2/isearch.c readline-6.2/keymaps.c readline-6.2/kill.c readline-6.2/macro.c readline-6.2/mbutil.c readline-6.2/misc.c readline-6.2/nls.c readline-6.2/parens.c readline-6.2/readline.c readline-6.2/rltty.c readline-6.2/savestring.c readline-6.2/search.c readline-6.2/shell.c readline-6.2/signals.c readline-6.2/terminal.c readline-6.2/text.c readline-6.2/tilde.c readline-6.2/undo.c readline-6.2/util.c readline-6.2/vi_keymap.c readline-6.2/vi_mode.c readline-6.2/xfree.c readline-6.2/xmalloc.c readline-6.2/history.c readline-6.2/histexpand.c readline-6.2/histfile.c readline-6.2/histsearch.c readline-6.2/patchlevel patching file vi_mode.c patching file callback.c patching file support/shobj-conf patching file patchlevel patching file input.c patching file patchlevel patching file vi_mode.c patching file patchlevel checking build system type... ./support/config.guess: unable to guess system type This script, last modified 2008-03-12, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (./support/config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system. config.guess timestamp = 2008-03-12 uname -m = aarch64 uname -r = 5.15.0-kali2-arm64 uname -s = Linux uname -v = #1 SMP Debian 5.15.5-2kali2 (2021-12-22) /usr/bin/uname -p = unknown /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = aarch64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = aarch64 UNAME_RELEASE = 5.15.0-kali2-arm64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Debian 5.15.5-2kali2 (2021-12-22) configure: error: cannot guess build type; you must specify one ============ Building the readline extension module ============ /usr/lib/python3/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'multi-version' will not be supported in future versions. Please use the underscore name 'multi_version' instead warnings.warn( running bdist_wheel running build running build_ext building 'readline' extension creating build creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-3.9/Modules creating build/temp.linux-aarch64-3.9/Modules/3.x aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -I. -I/usr/include/python3.9 -c Modules/3.x/readline.c -o build/temp.linux-aarch64-3.9/Modules/3.x/readline.o -Wno-strict-prototypes In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from Modules/3.x/readline.c:8: Modules/3.x/readline.c: In function ‘on_completion’: /usr/include/python3.9/cpython/unicodeobject.h:767:29: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 767 | #define _PyUnicode_AsString PyUnicode_AsUTF8 | ^~~~~~~~~~~~~~~~ Modules/3.x/readline.c:842:23: note: in expansion of macro ‘_PyUnicode_AsString’ 842 | char *s = _PyUnicode_AsString(r); | ^~~~~~~~~~~~~~~~~~~ Modules/3.x/readline.c: In function ‘readline_until_enter_or_signal’: Modules/3.x/readline.c:1044:9: warning: ‘sigrelse’ is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1044 | sigrelse(SIGINT); | ^~~~~~~~ In file included from Modules/3.x/readline.c:10: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ Modules/3.x/readline.c: In function ‘PyInit_readline’: Modules/3.x/readline.c:1179:34: warning: assignment to ‘char * (*)(FILE *, FILE *, const char *)’ from incompatible pointer type ‘char * (*)(FILE *, FILE *, char *)’ [-Wincompatible-pointer-types] 1179 | PyOS_ReadlineFunctionPointer = call_readline; | ^ In file included from /usr/include/string.h:519, from /usr/include/python3.9/Python.h:30, from Modules/3.x/readline.c:8: In function ‘strncpy’, inlined from ‘call_readline’ at Modules/3.x/readline.c:1124:9: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Modules/3.x/readline.c: In function ‘call_readline’: Modules/3.x/readline.c:1099:9: note: length computed here 1099 | n = strlen(p); | ^~~~~~~~~ creating build/lib.linux-aarch64-3.9 aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.9/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.linux-aarch64-3.9/readline.cpython-39-aarch64-linux-gnu.so /usr/bin/ld: cannot find readline/libreadline.a: No such file or directory /usr/bin/ld: cannot find readline/libhistory.a: No such file or directory collect2: error: ld returned 1 exit status error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 ---------------------------------------- ERROR: Failed building wheel for readline Running setup.py clean for readline Failed to build readline Installing collected packages: readline, pynput, lib-platform, colored Running setup.py install for readline ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v9w8jo9p/readline_d73de34ec1e644d9a96849246be005b7/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v9w8jo9p/readline_d73de34ec1e644d9a96849246be005b7/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-cmp34opc/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/kali/.local/include/python3.9/readline cwd: /tmp/pip-install-v9w8jo9p/readline_d73de34ec1e644d9a96849246be005b7/ Complete output (256 lines): ============ Building the readline library ============ readline-6.2/ readline-6.2/doc/ readline-6.2/doc/Makefile.in readline-6.2/doc/texinfo.tex readline-6.2/doc/version.texi readline-6.2/doc/fdl.texi readline-6.2/doc/rlman.texi readline-6.2/doc/rltech.texi readline-6.2/doc/rluser.texi readline-6.2/doc/rluserman.texi readline-6.2/doc/history.texi readline-6.2/doc/hstech.texi readline-6.2/doc/hsuser.texi readline-6.2/doc/readline.3 readline-6.2/doc/history.3 readline-6.2/doc/texi2dvi readline-6.2/doc/texi2html readline-6.2/doc/readline.ps readline-6.2/doc/history.ps readline-6.2/doc/rluserman.ps readline-6.2/doc/readline.dvi readline-6.2/doc/history.dvi readline-6.2/doc/rluserman.dvi readline-6.2/doc/readline.info readline-6.2/doc/history.info readline-6.2/doc/rluserman.info readline-6.2/doc/readline.html readline-6.2/doc/history.html readline-6.2/doc/rluserman.html readline-6.2/doc/readline.0 readline-6.2/doc/history.0 readline-6.2/doc/readline_3.ps readline-6.2/doc/history_3.ps readline-6.2/doc/history.pdf readline-6.2/doc/readline.pdf readline-6.2/doc/rluserman.pdf readline-6.2/examples/ readline-6.2/examples/autoconf/ readline-6.2/examples/autoconf/BASH_CHECK_LIB_TERMCAP readline-6.2/examples/autoconf/RL_LIB_READLINE_VERSION readline-6.2/examples/autoconf/wi_LIB_READLINE readline-6.2/examples/rlfe/ readline-6.2/examples/rlfe/ChangeLog readline-6.2/examples/rlfe/Makefile.in readline-6.2/examples/rlfe/README readline-6.2/examples/rlfe/config.h.in readline-6.2/examples/rlfe/configure readline-6.2/examples/rlfe/configure.in readline-6.2/examples/rlfe/extern.h readline-6.2/examples/rlfe/os.h readline-6.2/examples/rlfe/pty.c readline-6.2/examples/rlfe/rlfe.c readline-6.2/examples/rlfe/screen.h readline-6.2/examples/Makefile.in readline-6.2/examples/excallback.c readline-6.2/examples/fileman.c readline-6.2/examples/manexamp.c readline-6.2/examples/readlinebuf.h readline-6.2/examples/rl-fgets.c readline-6.2/examples/rlcat.c readline-6.2/examples/rlevent.c readline-6.2/examples/rltest.c readline-6.2/examples/rl.c readline-6.2/examples/rlptytest.c readline-6.2/examples/rlversion.c readline-6.2/examples/histexamp.c readline-6.2/examples/Inputrc readline-6.2/examples/rlwrap-0.30.tar.gz readline-6.2/support/ readline-6.2/support/config.guess readline-6.2/support/config.rpath readline-6.2/support/config.sub readline-6.2/support/install.sh readline-6.2/support/mkdirs readline-6.2/support/mkdist readline-6.2/support/mkinstalldirs readline-6.2/support/shobj-conf readline-6.2/support/shlib-install readline-6.2/support/wcwidth.c readline-6.2/shlib/ readline-6.2/shlib/Makefile.in readline-6.2/COPYING readline-6.2/README readline-6.2/MANIFEST readline-6.2/INSTALL readline-6.2/CHANGELOG readline-6.2/CHANGES readline-6.2/NEWS readline-6.2/USAGE readline-6.2/aclocal.m4 readline-6.2/config.h.in readline-6.2/configure readline-6.2/configure.in readline-6.2/Makefile.in readline-6.2/ansi_stdlib.h readline-6.2/chardefs.h readline-6.2/history.h readline-6.2/histlib.h readline-6.2/keymaps.h readline-6.2/posixdir.h readline-6.2/posixjmp.h readline-6.2/readline.h readline-6.2/posixselect.h readline-6.2/posixstat.h readline-6.2/rlconf.h readline-6.2/rldefs.h readline-6.2/rlmbutil.h readline-6.2/rlprivate.h readline-6.2/rlshell.h readline-6.2/rlstdc.h readline-6.2/rltty.h readline-6.2/rltypedefs.h readline-6.2/rlwinsize.h readline-6.2/tcap.h readline-6.2/tilde.h readline-6.2/xmalloc.h readline-6.2/bind.c readline-6.2/callback.c readline-6.2/compat.c readline-6.2/complete.c readline-6.2/display.c readline-6.2/emacs_keymap.c readline-6.2/funmap.c readline-6.2/input.c readline-6.2/isearch.c readline-6.2/keymaps.c readline-6.2/kill.c readline-6.2/macro.c readline-6.2/mbutil.c readline-6.2/misc.c readline-6.2/nls.c readline-6.2/parens.c readline-6.2/readline.c readline-6.2/rltty.c readline-6.2/savestring.c readline-6.2/search.c readline-6.2/shell.c readline-6.2/signals.c readline-6.2/terminal.c readline-6.2/text.c readline-6.2/tilde.c readline-6.2/undo.c readline-6.2/util.c readline-6.2/vi_keymap.c readline-6.2/vi_mode.c readline-6.2/xfree.c readline-6.2/xmalloc.c readline-6.2/history.c readline-6.2/histexpand.c readline-6.2/histfile.c readline-6.2/histsearch.c readline-6.2/patchlevel patching file vi_mode.c patching file callback.c patching file support/shobj-conf patching file patchlevel patching file input.c patching file patchlevel patching file vi_mode.c patching file patchlevel checking build system type... ./support/config.guess: unable to guess system type This script, last modified 2008-03-12, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (./support/config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system. config.guess timestamp = 2008-03-12 uname -m = aarch64 uname -r = 5.15.0-kali2-arm64 uname -s = Linux uname -v = #1 SMP Debian 5.15.5-2kali2 (2021-12-22) /usr/bin/uname -p = unknown /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = aarch64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = aarch64 UNAME_RELEASE = 5.15.0-kali2-arm64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Debian 5.15.5-2kali2 (2021-12-22) configure: error: cannot guess build type; you must specify one ============ Building the readline extension module ============ /usr/lib/python3/dist-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'multi-version' will not be supported in future versions. Please use the underscore name 'multi_version' instead warnings.warn( running install running build running build_ext building 'readline' extension creating build creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-3.9/Modules creating build/temp.linux-aarch64-3.9/Modules/3.x aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -I. -I/usr/include/python3.9 -c Modules/3.x/readline.c -o build/temp.linux-aarch64-3.9/Modules/3.x/readline.o -Wno-strict-prototypes In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:93, from Modules/3.x/readline.c:8: Modules/3.x/readline.c: In function ‘on_completion’: /usr/include/python3.9/cpython/unicodeobject.h:767:29: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 767 | #define _PyUnicode_AsString PyUnicode_AsUTF8 | ^~~~~~~~~~~~~~~~ Modules/3.x/readline.c:842:23: note: in expansion of macro ‘_PyUnicode_AsString’ 842 | char *s = _PyUnicode_AsString(r); | ^~~~~~~~~~~~~~~~~~~ Modules/3.x/readline.c: In function ‘readline_until_enter_or_signal’: Modules/3.x/readline.c:1044:9: warning: ‘sigrelse’ is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1044 | sigrelse(SIGINT); | ^~~~~~~~ In file included from Modules/3.x/readline.c:10: /usr/include/signal.h:345:12: note: declared here 345 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ Modules/3.x/readline.c: In function ‘PyInit_readline’: Modules/3.x/readline.c:1179:34: warning: assignment to ‘char * (*)(FILE *, FILE *, const char *)’ from incompatible pointer type ‘char * (*)(FILE *, FILE *, char *)’ [-Wincompatible-pointer-types] 1179 | PyOS_ReadlineFunctionPointer = call_readline; | ^ In file included from /usr/include/string.h:519, from /usr/include/python3.9/Python.h:30, from Modules/3.x/readline.c:8: In function ‘strncpy’, inlined from ‘call_readline’ at Modules/3.x/readline.c:1124:9: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ Modules/3.x/readline.c: In function ‘call_readline’: Modules/3.x/readline.c:1099:9: note: length computed here 1099 | n = strlen(p); | ^~~~~~~~~ creating build/lib.linux-aarch64-3.9 aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-aarch64-3.9/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.linux-aarch64-3.9/readline.cpython-39-aarch64-linux-gnu.so /usr/bin/ld: cannot find readline/libreadline.a: No such file or directory /usr/bin/ld: cannot find readline/libhistory.a: No such file or directory collect2: error: ld returned 1 exit status error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v9w8jo9p/readline_d73de34ec1e644d9a96849246be005b7/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v9w8jo9p/readline_d73de34ec1e644d9a96849246be005b7/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-cmp34opc/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/kali/.local/include/python3.9/readline Check the logs for full command output.
Does this help?
Readline fails to install when running
pip3 install -r requirements.txt
. Any suggestions?Here's the error text I get: