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.76k stars 2.16k forks source link

error with requirements.txt #696

Open laerciomonteiro opened 1 year ago

laerciomonteiro commented 1 year ago

(venv) ~/Osintgram $ pip install -r requirements.txt Ignoring pyreadline: markers 'platform_system == "Windows"' don't match your environment Collecting requests==2.24.0 Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB) Collecting requests-toolbelt==0.9.1 Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB) Collecting geopy>=2.0.0 Using cached geopy-2.3.0-py3-none-any.whl (119 kB) Collecting prettytable==0.7.2 Using cached prettytable-0.7.2-py3-none-any.whl Collecting instagram-private-api==1.6.0 Using cached instagram_private_api-1.6.0.0-py3-none-any.whl (78 kB) Collecting gnureadline>=8.0.0 Using cached gnureadline-8.1.2.tar.gz (3.1 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting chardet<4,>=3.0.2 Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting idna<3,>=2.5 Using cached idna-2.10-py2.py3-none-any.whl (58 kB) Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Using cached urllib3-1.25.11-py2.py3-none-any.whl (127 kB) Collecting certifi>=2017.4.17 Using cached certifi-2022.12.7-py3-none-any.whl (155 kB) Collecting geographiclib<3,>=1.52 Using cached geographiclib-2.0-py3-none-any.whl (40 kB) Building wheels for collected packages: gnureadline Building wheel for gnureadline (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for gnureadline (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [451 lines of output] ./build.sh: 6: [: Linux: unexpected operator readline-8.1/ readline-8.1/nls.c readline-8.1/CHANGES readline-8.1/histsearch.c readline-8.1/readline.pc.in readline-8.1/text.c readline-8.1/chardefs.h readline-8.1/histlib.h readline-8.1/rlmbutil.h readline-8.1/tilde.c readline-8.1/colors.h readline-8.1/vi_keymap.c readline-8.1/keymaps.h readline-8.1/histfile.c readline-8.1/support/ readline-8.1/config.h.in readline-8.1/util.c readline-8.1/colors.c readline-8.1/rltty.c readline-8.1/posixjmp.h readline-8.1/patchlevel readline-8.1/rlwinsize.h readline-8.1/misc.c readline-8.1/funmap.c readline-8.1/parse-colors.c readline-8.1/signals.c readline-8.1/configure readline-8.1/INSTALL readline-8.1/complete.c readline-8.1/callback.c readline-8.1/posixdir.h readline-8.1/ansi_stdlib.h readline-8.1/configure.ac readline-8.1/xfree.c readline-8.1/xmalloc.c readline-8.1/undo.c readline-8.1/rlconf.h readline-8.1/shell.c readline-8.1/CHANGELOG readline-8.1/keymaps.c readline-8.1/doc/ readline-8.1/readline.c readline-8.1/mbutil.c readline-8.1/COPYING readline-8.1/display.c readline-8.1/terminal.c readline-8.1/parens.c readline-8.1/README readline-8.1/rlstdc.h readline-8.1/posixselect.h readline-8.1/history.c readline-8.1/rltypedefs.h readline-8.1/USAGE readline-8.1/Makefile.in readline-8.1/rlprivate.h readline-8.1/aclocal.m4 readline-8.1/rlshell.h readline-8.1/examples/ readline-8.1/shlib/ readline-8.1/histexpand.c readline-8.1/compat.c readline-8.1/readline.h readline-8.1/tcap.h readline-8.1/search.c readline-8.1/macro.c readline-8.1/rldefs.h readline-8.1/MANIFEST readline-8.1/tilde.h readline-8.1/parse-colors.h readline-8.1/vi_mode.c readline-8.1/emacs_keymap.c readline-8.1/isearch.c readline-8.1/kill.c readline-8.1/input.c readline-8.1/NEWS readline-8.1/rltty.h readline-8.1/bind.c readline-8.1/posixstat.h readline-8.1/history.h readline-8.1/savestring.c readline-8.1/xmalloc.h readline-8.1/shlib/Makefile.in readline-8.1/examples/rlcat.c readline-8.1/examples/excallback.c readline-8.1/examples/rlwrap-0.30.tar.gz readline-8.1/examples/rl-fgets.c readline-8.1/examples/rlptytest.c readline-8.1/examples/rlkeymaps.c readline-8.1/examples/rl-callbacktest.c readline-8.1/examples/rlbasic.c readline-8.1/examples/readlinebuf.h readline-8.1/examples/Inputrc readline-8.1/examples/hist_erasedups.c readline-8.1/examples/Makefile.in readline-8.1/examples/rltest.c readline-8.1/examples/autoconf/ readline-8.1/examples/manexamp.c readline-8.1/examples/rlfe/ readline-8.1/examples/rlversion.c readline-8.1/examples/rl.c readline-8.1/examples/hist_purgecmd.c readline-8.1/examples/rlevent.c readline-8.1/examples/fileman.c readline-8.1/examples/histexamp.c readline-8.1/examples/rlfe/config.h.in readline-8.1/examples/rlfe/configure readline-8.1/examples/rlfe/pty.c readline-8.1/examples/rlfe/rlfe.c readline-8.1/examples/rlfe/ChangeLog readline-8.1/examples/rlfe/README readline-8.1/examples/rlfe/Makefile.in readline-8.1/examples/rlfe/os.h readline-8.1/examples/rlfe/extern.h readline-8.1/examples/rlfe/screen.h readline-8.1/examples/rlfe/configure.in readline-8.1/examples/autoconf/wi_LIB_READLINE readline-8.1/examples/autoconf/RL_LIB_READLINE_VERSION readline-8.1/examples/autoconf/BASH_CHECK_LIB_TERMCAP readline-8.1/doc/rluserman.pdf readline-8.1/doc/texinfo.tex readline-8.1/doc/readline.0 readline-8.1/doc/rluser.texi readline-8.1/doc/readline.dvi readline-8.1/doc/fdl.texi readline-8.1/doc/hsuser.texi readline-8.1/doc/rluserman.info readline-8.1/doc/rltech.texi readline-8.1/doc/rluserman.dvi readline-8.1/doc/history.ps readline-8.1/doc/readline_3.ps readline-8.1/doc/rlman.texi readline-8.1/doc/texi2html readline-8.1/doc/readline.ps readline-8.1/doc/history_3.ps readline-8.1/doc/readline.info readline-8.1/doc/readline.pdf readline-8.1/doc/Makefile.in readline-8.1/doc/readline.html readline-8.1/doc/history.pdf readline-8.1/doc/version.texi readline-8.1/doc/history.3 readline-8.1/doc/history.texi readline-8.1/doc/texi2dvi readline-8.1/doc/hstech.texi readline-8.1/doc/rluserman.texi readline-8.1/doc/history.0 readline-8.1/doc/history.info readline-8.1/doc/history.html readline-8.1/doc/readline.3 readline-8.1/doc/history.dvi readline-8.1/doc/rluserman.ps readline-8.1/doc/rluserman.html readline-8.1/support/config.sub readline-8.1/support/mkinstalldirs readline-8.1/support/shlib-install readline-8.1/support/mkdist readline-8.1/support/mkdirs readline-8.1/support/install.sh readline-8.1/support/config.rpath readline-8.1/support/shobj-conf readline-8.1/support/config.guess readline-8.1/support/wcwidth.c patching file bind.c patching file patchlevel patching file display.c patching file patchlevel checking build system type... aarch64-unknown-linux-gnu checking host system type... aarch64-unknown-linux-gnu

  Beginning configuration for readline-8.1 for aarch64-unknown-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... /data/data/com.termux/files/usr/bin/grep
  checking for egrep... /data/data/com.termux/files/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... /data/data/com.termux/files/usr/bin/install -c
  checking for ar... no
  checking for ranlib... no
  checking for an ANSI C-conforming const... yes
  checking for function prototypes... yes
  checking whether char is unsigned... yes
  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... yes
  checking termcap.h presence... yes
  checking for termcap.h... yes
  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... no
  checking whether getpw functions are declared in pwd.h... yes
  checking whether termios.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... yes
  checking which library has the termcap functions... using libtermcap
  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.1"' -DBRACKETED_PASTE_DEFAULT=1 -g -O2 -Wno-parentheses -Wno-format-security readline.c
  In file included from readline.c:60:
  ./rlmbutil.h:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_wcwidth (wc)
  ^
  1 warning generated.
  rm -f vi_mode.o
  gcc -c  -DHAVE_CONFIG_H   -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -g -O2 -Wno-parentheses -Wno-format-security vi_mode.c
  In file included from vi_mode.c:54:
  ./rlmbutil.h:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_wcwidth (wc)
  ^
  1 warning generated.
  rm -f funmap.o
  gcc -c  -DHAVE_CONFIG_H   -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -g -O2 -Wno-parentheses -Wno-format-security funmap.c
  rm -f keymaps.o
  gcc -c  -DHAVE_CONFIG_H   -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -g -O2 -Wno-parentheses -Wno-format-security keymaps.c
  rm -f parens.o
  gcc -c  -DHAVE_CONFIG_H   -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -g -O2 -Wno-parentheses -Wno-format-security parens.c
  In file included from parens.c:54:
  In file included from ./rlprivate.h:29:
  ./rlmbutil.h:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_wcwidth (wc)
  ^
  1 warning generated.
  rm -f search.o
  gcc -c  -DHAVE_CONFIG_H   -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -g -O2 -Wno-parentheses -Wno-format-security search.c
  In file included from search.c:42:
  ./rlmbutil.h:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_wcwidth (wc)
  ^
  1 warning generated.
  rm -f rltty.o
  gcc -c  -DHAVE_CONFIG_H   -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -g -O2 -Wno-parentheses -Wno-format-security rltty.c
  In file included from rltty.c:46:
  In file included from ./rlprivate.h:29:
  ./rlmbutil.h:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_wcwidth (wc)
  ^
  rltty.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  set_winsize (tty)
  ^
  rltty.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  3 warnings generated.
  rm -f complete.o
  gcc -c  -DHAVE_CONFIG_H   -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -g -O2 -Wno-parentheses -Wno-format-security complete.c
  In file included from complete.c:69:
  ./rlmbutil.h:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  _rl_wcwidth (wc)
  ^
  complete.c:2284:7: warning: call to undeclared function 'setpwent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        setpwent ();
        ^
  complete.c:2289:18: warning: call to undeclared function 'getpwent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    while (entry = getpwent ())
                   ^
  complete.c:2289:16: error: incompatible integer to pointer conversion assigning to 'struct passwd *' from 'int' [-Wint-conversion]
    while (entry = getpwent ())
                 ^ ~~~~~~~~~~~
  3 warnings and 1 error generated.
  make: *** [Makefile:105: complete.o] Error 1

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

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

  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-cpython-311
  copying readline.py -> build/lib.linux-aarch64-cpython-311
  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'
  adding license file 'LICENSE'
  writing manifest file 'gnureadline.egg-info/SOURCES.txt'
  running build_ext
  building 'gnureadline' extension
  creating build/temp.linux-aarch64-cpython-311
  creating build/temp.linux-aarch64-cpython-311/Modules
  creating build/temp.linux-aarch64-cpython-311/Modules/3.x
  aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -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. -IModules/3.x -I/data/data/com.termux/files/home/venv/include -I/data/data/com.termux/files/usr/include/python3.11 -c Modules/3.x/readline.c -o build/temp.linux-aarch64-cpython-311/Modules/3.x/readline.o
  aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--no-as-needed,-landroid-support,--as-needed -L/home/builder/.termux-build/_cache/android-r25b-api-24-v3/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -Wl,--no-as-needed,-landroid-support,--as-needed -L/home/builder/.termux-build/_cache/android-r25b-api-24-v3/sysroot/usr/lib build/temp.linux-aarch64-cpython-311/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -L/data/data/com.termux/files/usr/lib -lncurses -lpython3.11 -o build/lib.linux-aarch64-cpython-311/gnureadline.cpython-311.so
  clang-15: error: no such file or directory: 'readline/libreadline.a'
  clang-15: error: no such file or directory: 'readline/libhistory.a'
  error: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang' 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 gnureadline Failed to build gnureadline ERROR: Could not build wheels for gnureadline, which is required to install pyproject.toml-based projects

NOTE: I'm using Termux on Android. I have already replaced 'gnurealine' in main.py with 'readline' but the problem remains.

Dxshahid commented 4 months ago

Same problem 😭

Burinav commented 2 months ago

Mesmo poblema