Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.52k stars 2.09k forks source link

When i run sudo pip3 install -r requirements.txt in kali linux i get this error #315

Closed mrpotatorust3 closed 2 years ago

mrpotatorust3 commented 3 years ago

ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pv1rb2b1/gnureadline_407191d59e36488eb5d5f91797df82c1/setup.py'"'"'; file='"'"'/tmp/pip-install-pv1rb2b1/gnureadline_407191d59e36488eb5d5f91797df82c1/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-3ntfcrwx
cwd: /tmp/pip-install-pv1rb2b1/gnureadline_407191d59e36488eb5d5f91797df82c1/
Complete output (463 lines):

============ Building the readline library ============

readline-8.0/
readline-8.0/nls.c
readline-8.0/CHANGES
readline-8.0/histsearch.c
readline-8.0/readline.pc.in
readline-8.0/text.c
readline-8.0/chardefs.h
readline-8.0/histlib.h
readline-8.0/rlmbutil.h
readline-8.0/tilde.c
readline-8.0/colors.h
readline-8.0/vi_keymap.c
readline-8.0/keymaps.h
readline-8.0/histfile.c
readline-8.0/support/
readline-8.0/config.h.in
readline-8.0/util.c
readline-8.0/colors.c
readline-8.0/rltty.c
readline-8.0/posixjmp.h
readline-8.0/patchlevel
readline-8.0/rlwinsize.h
readline-8.0/misc.c
readline-8.0/funmap.c
readline-8.0/parse-colors.c
readline-8.0/signals.c
readline-8.0/configure
readline-8.0/INSTALL
readline-8.0/complete.c
readline-8.0/callback.c
readline-8.0/posixdir.h
readline-8.0/ansi_stdlib.h
readline-8.0/configure.ac
readline-8.0/xfree.c
readline-8.0/xmalloc.c
readline-8.0/undo.c
readline-8.0/rlconf.h
readline-8.0/shell.c
readline-8.0/CHANGELOG
readline-8.0/keymaps.c
readline-8.0/doc/
readline-8.0/readline.c
readline-8.0/mbutil.c
readline-8.0/COPYING
readline-8.0/display.c
readline-8.0/terminal.c
readline-8.0/parens.c
readline-8.0/README
readline-8.0/rlstdc.h
readline-8.0/posixselect.h
readline-8.0/history.c
readline-8.0/rltypedefs.h
readline-8.0/USAGE
readline-8.0/Makefile.in
readline-8.0/rlprivate.h
readline-8.0/aclocal.m4
readline-8.0/rlshell.h
readline-8.0/examples/
readline-8.0/shlib/
readline-8.0/histexpand.c
readline-8.0/compat.c
readline-8.0/readline.h
readline-8.0/tcap.h
readline-8.0/search.c
readline-8.0/macro.c
readline-8.0/rldefs.h
readline-8.0/MANIFEST
readline-8.0/tilde.h
readline-8.0/parse-colors.h
readline-8.0/vi_mode.c
readline-8.0/emacs_keymap.c
readline-8.0/isearch.c
readline-8.0/kill.c
readline-8.0/input.c
readline-8.0/NEWS
readline-8.0/rltty.h
readline-8.0/bind.c
readline-8.0/posixstat.h
readline-8.0/history.h
readline-8.0/savestring.c
readline-8.0/xmalloc.h
readline-8.0/shlib/Makefile.in
readline-8.0/examples/rlcat.c
readline-8.0/examples/excallback.c
readline-8.0/examples/rlwrap-0.30.tar.gz
readline-8.0/examples/rl-fgets.c
readline-8.0/examples/rlptytest.c
readline-8.0/examples/rlkeymaps.c
readline-8.0/examples/rl-callbacktest.c
readline-8.0/examples/rlbasic.c
readline-8.0/examples/readlinebuf.h
readline-8.0/examples/Inputrc
readline-8.0/examples/hist_erasedups.c
readline-8.0/examples/Makefile.in
readline-8.0/examples/rltest.c
readline-8.0/examples/autoconf/
readline-8.0/examples/manexamp.c
readline-8.0/examples/rlfe/
readline-8.0/examples/rlversion.c
readline-8.0/examples/rl.c
readline-8.0/examples/hist_purgecmd.c
readline-8.0/examples/rlevent.c
readline-8.0/examples/fileman.c
readline-8.0/examples/histexamp.c
readline-8.0/examples/rlfe/config.h.in
readline-8.0/examples/rlfe/configure
readline-8.0/examples/rlfe/pty.c
readline-8.0/examples/rlfe/rlfe.c
readline-8.0/examples/rlfe/ChangeLog
readline-8.0/examples/rlfe/README
readline-8.0/examples/rlfe/Makefile.in
readline-8.0/examples/rlfe/os.h
readline-8.0/examples/rlfe/extern.h
readline-8.0/examples/rlfe/screen.h
readline-8.0/examples/rlfe/configure.in
readline-8.0/examples/autoconf/wi_LIB_READLINE
readline-8.0/examples/autoconf/RL_LIB_READLINE_VERSION
readline-8.0/examples/autoconf/BASH_CHECK_LIB_TERMCAP
readline-8.0/doc/rluserman.pdf
readline-8.0/doc/texinfo.tex
readline-8.0/doc/readline.0
readline-8.0/doc/rluser.texi
readline-8.0/doc/readline.dvi
readline-8.0/doc/fdl.texi
readline-8.0/doc/hsuser.texi
readline-8.0/doc/rluserman.info
readline-8.0/doc/rltech.texi
readline-8.0/doc/rluserman.dvi
readline-8.0/doc/history.ps
readline-8.0/doc/readline_3.ps
readline-8.0/doc/rlman.texi
readline-8.0/doc/texi2html
readline-8.0/doc/readline.ps
readline-8.0/doc/history_3.ps
readline-8.0/doc/readline.info
readline-8.0/doc/readline.pdf
readline-8.0/doc/Makefile.in
readline-8.0/doc/readline.html
readline-8.0/doc/history.pdf
readline-8.0/doc/version.texi
readline-8.0/doc/history.3
readline-8.0/doc/history.texi
readline-8.0/doc/texi2dvi
readline-8.0/doc/hstech.texi
readline-8.0/doc/rluserman.texi
readline-8.0/doc/history.0
readline-8.0/doc/history.info
readline-8.0/doc/history.html
readline-8.0/doc/readline.3
readline-8.0/doc/history.dvi
readline-8.0/doc/rluserman.ps
readline-8.0/doc/rluserman.html
readline-8.0/support/config.sub
readline-8.0/support/mkinstalldirs
readline-8.0/support/shlib-install
readline-8.0/support/mkdist
readline-8.0/support/mkdirs
readline-8.0/support/install.sh
readline-8.0/support/config.rpath
readline-8.0/support/shobj-conf
readline-8.0/support/config.guess
readline-8.0/support/wcwidth.c
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu

Beginning configuration for readline-8.0 for x86_64-pc-linux-gnu

checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking for function prototypes... yes
checking whether char is unsigned... no
checking for working volatile... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for ssize_t... yes
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for fcntl... yes
checking for kill... yes
checking for lstat... yes
checking for readlink... yes
checking for fnmatch... yes
checking for memmove... yes
checking for pselect... yes
checking for putenv... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strpbrk... yes
checking for tcgetattr... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for isxdigit... yes
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking for working strcoll... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for memory.h... (cached) yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/pte.h usability... no
checking sys/pte.h presence... no
checking for sys/pte.h... no
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/ptem.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for type of signal functions... posix
checking if signal handlers must be reinstalled when invoked... no
checking for presence of POSIX-style sigsetjmp/siglongjmp... present
checking for lstat... yes
checking whether or not strcoll and strcmp differ... no
checking whether the ctype macros accept non-ascii characters... yes
checking whether getpw functions are declared in pwd.h... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking for sig_atomic_t in signal.h... yes
checking whether signal handlers are of type void... yes
checking for TIOCSTAT in sys/ioctl.h... no
checking for FIONREAD in sys/ioctl.h... yes
checking for speed_t in sys/types.h... no
checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h
checking for struct dirent.d_ino... yes
checking for struct dirent.d_fileno... yes
checking libaudit.h usability... no
checking libaudit.h presence... no
checking for libaudit.h... no
checking whether AUDIT_USER_TTY is declared... yes
checking for tgetent... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for tgetent in -lcurses... no
checking for tgetent in -lncurses... no
checking for tgetent in -lncursesw... no
checking which library has the termcap functions... using gnutermcap
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking mbstr.h usability... no
checking mbstr.h presence... no
checking for mbstr.h... no
checking for mbrlen... yes
checking for mbscasecmp... no
checking for mbscmp... no
checking for mbsnrtowcs... yes
checking for mbsrtowcs... yes
checking for mbschr... no
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wcsdup... yes
checking for wcwidth... yes
checking for wctype... yes
checking for wcswidth... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for iswlower... yes
checking for iswupper... yes
checking for towlower... yes
checking for towupper... yes
checking for iswctype... yes
checking for nl_langinfo and CODESET... yes
checking for wchar_t in wchar.h... yes
checking for wctype_t in wctype.h... yes
checking for wint_t in wctype.h... yes
checking for wcwidth broken with unicode combining characters... no
checking size of wchar_t... 4
checking configuration for building shared libraries... supported
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating shlib/Makefile
config.status: creating readline.pc
config.status: creating config.h
config.status: executing default commands
rm -f readline.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O readline.c
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O vi_mode.c
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O parens.c
rm -f search.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O search.c
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O complete.c
rm -f bind.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O bind.c
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O isearch.c
rm -f display.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O display.c
rm -f signals.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O signals.c
rm -f util.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O kill.c
rm -f undo.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O input.c
rm -f callback.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O terminal.c
rm -f text.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O text.c
rm -f nls.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O nls.c
rm -f misc.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O misc.c
rm -f history.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O history.c
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O histexpand.c
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O shell.c
rm -f mbutil.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O mbutil.c
rm -f tilde.o
gcc -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O -DREADLINE_LIBRARY -c ./tilde.c
rm -f colors.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O colors.c
rm -f parse-colors.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O parse-colors.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O xmalloc.c
rm -f xfree.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O xfree.c
rm -f compat.o
gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.0"' -g -O compat.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o
test -n "ranlib" && ranlib libreadline.a
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o xfree.o
test -n "ranlib" && ranlib libhistory.a

============ Building the readline extension module ============

running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
copying readline.py -> build/lib.linux-x86_64-3.9
running egg_info
writing gnureadline.egg-info/PKG-INFO
writing dependency_links to gnureadline.egg-info/dependency_links.txt
writing top-level names to gnureadline.egg-info/top_level.txt
reading manifest file 'gnureadline.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'readline-0' under directory 'rl'
writing manifest file 'gnureadline.egg-info/SOURCES.txt'
running build_ext
building 'gnureadline' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/Modules
creating build/temp.linux-x86_64-3.9/Modules/3.x
x86_64-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_APPEND_HISTORY -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 -DHAVE_RL_RESIZE_TERMINAL -I. -I/usr/include/python3.9 -c Modules/3.x/readline.c -o build/temp.linux-x86_64-3.9/Modules/3.x/readline.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.9/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.linux-x86_64-3.9/gnureadline.cpython-39-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1


ERROR: Failed building wheel for gnureadline Running setup.py clean for gnureadline Failed to build gnureadline Installing collected packages: gnureadline, geopy Running setup.py install for gnureadline ... 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-pv1rb2b1/gnureadline_407191d59e36488eb5d5f91797df82c1/setup.py'"'"'; file='"'"'/tmp/pip-install-pv1rb2b1/gnureadline_407191d59e36488eb5d5f91797df82c1/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-_ti0hlkr/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/gnureadline
cwd: /tmp/pip-install-pv1rb2b1/gnureadline_407191d59e36488eb5d5f91797df82c1/
Complete output (24 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
copying readline.py -> build/lib.linux-x86_64-3.9
running egg_info
writing gnureadline.egg-info/PKG-INFO
writing dependency_links to gnureadline.egg-info/dependency_links.txt
writing top-level names to gnureadline.egg-info/top_level.txt
reading manifest file 'gnureadline.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'readline-0' under directory 'rl'
writing manifest file 'gnureadline.egg-info/SOURCES.txt'
running build_ext
building 'gnureadline' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/Modules
creating build/temp.linux-x86_64-3.9/Modules/3.x
x86_64-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_APPEND_HISTORY -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 -DHAVE_RL_RESIZE_TERMINAL -I. -I/usr/include/python3.9 -c Modules/3.x/readline.c -o build/temp.linux-x86_64-3.9/Modules/3.x/readline.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.9/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.linux-x86_64-3.9/gnureadline.cpython-39-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lncurses
collect2: error: ld returned 1 exit status
error: command '/usr/bin/x86_64-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-pv1rb2b1/gnureadline_407191d59e36488eb5d5f91797df82c1/setup.py'"'"'; file='"'"'/tmp/pip-install-pv1rb2b1/gnureadline_407191d59e36488eb5d5f91797df82c1/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-_ti0hlkr/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/gnureadline Check the logs for full command output.

mrpotatorust3 commented 3 years ago

And when i run:"sudo python3 main.py" i get this error:"raceback (most recent call last): File "/home/akhackeas4/Osintgram/main.py", line 3, in from src.Osintgram import Osintgram File "/home/akhackeas4/Osintgram/src/Osintgram.py", line 13, in from geopy.geocoders import Nominatim ModuleNotFoundError: No module named 'geopy'".

mrpotatorust3 commented 3 years ago

Anyone know why?

Kitchvx commented 3 years ago

when trying to run the main.py you get the error because its trying to call to a module that isn't installed, in your case its 'geopy' id suggest installing said module. as for the error with the 'requirements.txt' I don't know, it seems to be a bug as suggested by this stackoverflow post, https://stackoverflow.com/questions/60937863/error-command-errored-out-with-exit-status-1

I could be wrong, if i am please correct me. Thanks