I'm using python3 to install the package: python3 -m pip install yowsup
all the related packages gets installed without any problem but when it comes to executing setp.py I get this error mentioned in the title.
To Reproduce
simply run python3 -m pip install yowsup in the terminal
Expected behavior
I expect the package to be installed successfully.
OS (please complete the following information):
I'm using MacOS Monterey
Trace of the error
× Building wheel for readline (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [200 lines of output]
x readline-6.2/
x readline-6.2/doc/
x readline-6.2/doc/Makefile.in
x readline-6.2/doc/texinfo.tex
x readline-6.2/doc/version.texi
x readline-6.2/doc/fdl.texi
x readline-6.2/doc/rlman.texi
x readline-6.2/doc/rltech.texi
x readline-6.2/doc/rluser.texi
x readline-6.2/doc/rluserman.texi
x readline-6.2/doc/history.texi
x readline-6.2/doc/hstech.texi
x readline-6.2/doc/hsuser.texi
x readline-6.2/doc/readline.3
x readline-6.2/doc/history.3
x readline-6.2/doc/texi2dvi
x readline-6.2/doc/texi2html
x readline-6.2/doc/readline.ps
x readline-6.2/doc/history.ps
x readline-6.2/doc/rluserman.ps
x readline-6.2/doc/readline.dvi
x readline-6.2/doc/history.dvi
x readline-6.2/doc/rluserman.dvi
x readline-6.2/doc/readline.info
x readline-6.2/doc/history.info
x readline-6.2/doc/rluserman.info
x readline-6.2/doc/readline.html
x readline-6.2/doc/history.html
x readline-6.2/doc/rluserman.html
x readline-6.2/doc/readline.0
x readline-6.2/doc/history.0
x readline-6.2/doc/readline_3.ps
x readline-6.2/doc/history_3.ps
x readline-6.2/doc/history.pdf
x readline-6.2/doc/readline.pdf
x readline-6.2/doc/rluserman.pdf
x readline-6.2/examples/
x readline-6.2/examples/autoconf/
x readline-6.2/examples/autoconf/BASH_CHECK_LIB_TERMCAP
x readline-6.2/examples/autoconf/RL_LIB_READLINE_VERSION
x readline-6.2/examples/autoconf/wi_LIB_READLINE
x readline-6.2/examples/rlfe/
x readline-6.2/examples/rlfe/ChangeLog
x readline-6.2/examples/rlfe/Makefile.in
x readline-6.2/examples/rlfe/README
x readline-6.2/examples/rlfe/config.h.in
x readline-6.2/examples/rlfe/configure
x readline-6.2/examples/rlfe/configure.in
x readline-6.2/examples/rlfe/extern.h
x readline-6.2/examples/rlfe/os.h
x readline-6.2/examples/rlfe/pty.c
x readline-6.2/examples/rlfe/rlfe.c
x readline-6.2/examples/rlfe/screen.h
x readline-6.2/examples/Makefile.in
x readline-6.2/examples/excallback.c
x readline-6.2/examples/fileman.c
x readline-6.2/examples/manexamp.c
x readline-6.2/examples/readlinebuf.h
x readline-6.2/examples/rl-fgets.c
x readline-6.2/examples/rlcat.c
x readline-6.2/examples/rlevent.c
x readline-6.2/examples/rltest.c
x readline-6.2/examples/rl.c
x readline-6.2/examples/rlptytest.c
x readline-6.2/examples/rlversion.c
x readline-6.2/examples/histexamp.c
x readline-6.2/examples/Inputrc
x readline-6.2/examples/rlwrap-0.30.tar.gz
x readline-6.2/support/
x readline-6.2/support/config.guess
x readline-6.2/support/config.rpath
x readline-6.2/support/config.sub
x readline-6.2/support/install.sh
x readline-6.2/support/mkdirs
x readline-6.2/support/mkdist
x readline-6.2/support/mkinstalldirs
x readline-6.2/support/shobj-conf
x readline-6.2/support/shlib-install
x readline-6.2/support/wcwidth.c
x readline-6.2/shlib/
x readline-6.2/shlib/Makefile.in
x readline-6.2/COPYING
x readline-6.2/README
x readline-6.2/MANIFEST
x readline-6.2/INSTALL
x readline-6.2/CHANGELOG
x readline-6.2/CHANGES
x readline-6.2/NEWS
x readline-6.2/USAGE
x readline-6.2/aclocal.m4
x readline-6.2/config.h.in
x readline-6.2/configure
x readline-6.2/configure.in
x readline-6.2/Makefile.in
x readline-6.2/ansi_stdlib.h
x readline-6.2/chardefs.h
x readline-6.2/history.h
x readline-6.2/histlib.h
x readline-6.2/keymaps.h
x readline-6.2/posixdir.h
x readline-6.2/posixjmp.h
x readline-6.2/readline.h
x readline-6.2/posixselect.h
x readline-6.2/posixstat.h
x readline-6.2/rlconf.h
x readline-6.2/rldefs.h
x readline-6.2/rlmbutil.h
x readline-6.2/rlprivate.h
x readline-6.2/rlshell.h
x readline-6.2/rlstdc.h
x readline-6.2/rltty.h
x readline-6.2/rltypedefs.h
x readline-6.2/rlwinsize.h
x readline-6.2/tcap.h
x readline-6.2/tilde.h
x readline-6.2/xmalloc.h
x readline-6.2/bind.c
x readline-6.2/callback.c
x readline-6.2/compat.c
x readline-6.2/complete.c
x readline-6.2/display.c
x readline-6.2/emacs_keymap.c
x readline-6.2/funmap.c
x readline-6.2/input.c
x readline-6.2/isearch.c
x readline-6.2/keymaps.c
x readline-6.2/kill.c
x readline-6.2/macro.c
x readline-6.2/mbutil.c
x readline-6.2/misc.c
x readline-6.2/nls.c
x readline-6.2/parens.c
x readline-6.2/readline.c
x readline-6.2/rltty.c
x readline-6.2/savestring.c
x readline-6.2/search.c
x readline-6.2/shell.c
x readline-6.2/signals.c
x readline-6.2/terminal.c
x readline-6.2/text.c
x readline-6.2/tilde.c
x readline-6.2/undo.c
x readline-6.2/util.c
x readline-6.2/vi_keymap.c
x readline-6.2/vi_mode.c
x readline-6.2/xfree.c
x readline-6.2/xmalloc.c
x readline-6.2/history.c
x readline-6.2/histexpand.c
x readline-6.2/histfile.c
x readline-6.2/histsearch.c
x 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... i386-apple-darwin21.1.0
checking host system type... i386-apple-darwin21.1.0
Beginning configuration for readline-6.2 for i386-apple-darwin21.1.0
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/private/var/folders/58/qpd8_j7j3w7djctktt4v4ym00000gn/T/pip-install-557lmep9/readline_bf34c6d3fd7b4517afc54ced2885e496/rl/readline-lib':
configure: error: C compiler cannot create executables
See `config.log' for more details.
/private/var/folders/58/qpd8_j7j3w7djctktt4v4ym00000gn/T/pip-build-env-pwo19g8a/overlay/lib/python3.9/site-packages/setuptools/dist.py:770: UserWarning: Usage of dash-separated 'multi-version' will not be supported in future versions. Please use the underscore name 'multi_version' instead
warnings.warn(
============ Building the readline library ============
============ Building the readline extension module ============
running bdist_wheel
running build
running build_ext
building 'readline' extension
creating build
creating build/temp.macosx-10.14-x86_64-cpython-39
creating build/temp.macosx-10.14-x86_64-cpython-39/Modules
creating build/temp.macosx-10.14-x86_64-cpython-39/Modules/3.x
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -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/Users/mac/Documents/Workspace/mdata-one/backend/trying-yowsup/.venv/include -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c Modules/3.x/readline.c -o build/temp.macosx-10.14-x86_64-cpython-39/Modules/3.x/readline.o -Wno-strict-prototypes
Modules/3.x/readline.c:842:19: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
char *s = _PyUnicode_AsString(r);
^ ~~~~~~~~~~~~~~~~~~~~~~
Modules/3.x/readline.c:1179:34: warning: incompatible function pointer types assigning to 'char *(*)(FILE *, FILE *, const char *)' (aka 'char *(*)(struct __sFILE *, struct __sFILE *, const char *)') from 'char *(FILE *, FILE *, char *)' (aka 'char *(struct __sFILE *, struct __sFILE *, char *)') [-Wincompatible-function-pointer-types]
PyOS_ReadlineFunctionPointer = call_readline;
^ ~~~~~~~~~~~~~
2 warnings generated.
creating build/lib.macosx-10.14-x86_64-cpython-39
clang -bundle -undefined dynamic_lookup build/temp.macosx-10.14-x86_64-cpython-39/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.macosx-10.14-x86_64-cpython-39/readline.cpython-39-darwin.so
clang: error: no such file or directory: 'readline/libreadline.a'
clang: error: no such file or directory: 'readline/libhistory.a'
error: command '/usr/bin/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 readline
Failed to build readline
ERROR: Could not build wheels for readline, which is required to install pyproject.toml-based projects
Describe the bug
I'm using python3 to install the package:
python3 -m pip install yowsup
all the related packages gets installed without any problem but when it comes to executingsetp.py
I get this error mentioned in the title.Versions Python 3 yowsup latest (not sure which one) appdirs==1.4.4 cffi==1.15.0 consonance==0.1.5 cryptography==36.0.0 dissononce==0.34.3 protobuf==4.0.0rc2 pycparser==2.21 python-axolotl==0.2.2 python-axolotl-curve25519==0.4.1.post2 six==1.10.0 transitions==0.8.10
To Reproduce simply run
python3 -m pip install yowsup
in the terminalExpected behavior I expect the package to be installed successfully.
OS (please complete the following information): I'm using MacOS Monterey
Trace of the error