Hi Graham,
I have been reading the requirements and the only thing I could think of is to make sure I have a complete installation of Apache, which I think I have. Other wise would a direct installation into python work? Or would it be the same problem? I am not sure which distribution of python and Apache I exactly have but can have a look when I’m back home. As for building them from the source code I’m not sure, would this be a problem? As far as I know I’ve done it through command lines on terminal. Thanks, Bashaar On Tuesday 26 March 2024 at 10:40:46 UTC Graham Dumpleton wrote: > Whose Python and Apache distributions are they? > > On macOS you shouldn't have an issue with Homebrew packages, but Fink > packages have been a problem in the past and I gave up using them myself a > very long time ago. > > Or have you built Python and Apache yourself from source code somehow? > > Graham > > On Tue, 26 Mar 2024 at 20:43, Bashaar Dhoot <[email protected]> wrote: > >> Hi Graham, >> >> Thanks so much for the reply. I will look into the requirements needed >> and have a read! >> >> This is the complete output: >> >> pip install mod_wsgi >> DEPRECATION: Configuring installation scheme with distutils config files >> is deprecated and will no longer work in the near future. If you are using >> a Homebrew or Linuxbrew Python, please see discussion at >> https://github.com/Homebrew/homebrew-core/issues/76621 >> Collecting mod_wsgi >> Using cached mod_wsgi-5.0.0.tar.gz (497 kB) >> Preparing metadata (setup.py) ... done >> Building wheels for collected packages: mod_wsgi >> Building wheel for mod_wsgi (setup.py) ... error >> error: subprocess-exited-with-error >> >> × python setup.py bdist_wheel did not run successfully. >> │ exit code: 1 >> ╰─> [46 lines of output] >> running bdist_wheel >> running build >> running build_py >> creating build >> creating build/lib.macosx-13-x86_64-cpython-39 >> creating build/lib.macosx-13-x86_64-cpython-39/mod_wsgi >> copying src/__init__.py -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi >> creating build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server >> copying src/server/apxs_config.py -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server >> copying src/server/__init__.py -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server >> copying src/server/environ.py -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server >> creating >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server/management >> copying src/server/management/__init__.py -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server/management >> creating >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server/management/commands >> copying src/server/management/commands/runmodwsgi.py -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server/management/commands >> copying src/server/management/commands/__init__.py -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server/management/commands >> creating build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/docs >> copying docs/_build/html/__init__.py -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/docs >> creating build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/images >> copying images/__init__.py -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/images >> copying images/snake-whiskey.jpg -> >> build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/images >> running build_ext >> building 'mod_wsgi.server.mod_wsgi-py39' extension >> creating build/temp.macosx-13-x86_64-cpython-39 >> creating build/temp.macosx-13-x86_64-cpython-39/src >> creating build/temp.macosx-13-x86_64-cpython-39/src/server >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/mod_wsgi.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/mod_wsgi.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_apache.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_apache.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_buckets.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_buckets.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_convert.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_convert.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_daemon.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_daemon.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_interp.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_interp.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_logger.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_logger.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_memory.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_memory.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_metrics.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_metrics.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_restrict.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_restrict.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_server.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_server.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_stream.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_stream.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_thread.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_thread.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -Wno-unused-result -Wsign-compare >> -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include -I/usr/local/opt/httpd/include/httpd >> -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/include/python3.9 >> >> -c src/server/wsgi_validate.c -o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_validate.o >> -I/usr/local/opt/httpd/include/httpd -I. -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl/include >> -I/usr/local/opt/pcre2/include -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -g >> -O2 -Wall -I/usr/local/opt/apr/include/apr-1 >> -I/usr/local/opt/apr-util/include/apr-1 -I/usr/local/opt/openssl@3/include >> x86_64-apple-darwin13.4.0-clang -bundle -undefined dynamic_lookup >> -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -Wl,-pie >> -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs >> -Wl,-rpath,/Users/bashaar/anaconda3/lib -L/Users/bashaar/anaconda3/lib >> -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE >> -fstack-protector-strong -O2 -pipe -isystem >> /Users/bashaar/anaconda3/include -D_FORTIFY_SOURCE=2 -isystem >> /Users/bashaar/anaconda3/include >> build/temp.macosx-13-x86_64-cpython-39/src/server/mod_wsgi.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_apache.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_buckets.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_convert.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_daemon.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_interp.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_logger.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_memory.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_metrics.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_restrict.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_server.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_stream.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_thread.o >> build/temp.macosx-13-x86_64-cpython-39/src/server/wsgi_validate.o >> -Wl,-rpath,/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/lib >> >> -Wl,-rpath,/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/lib/python3.9/config >> >> -o build/lib.macosx-13-x86_64-cpython-39/mod_wsgi/server/ >> mod_wsgi-py39.cpython-39-darwin.so >> -L/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/lib >> -L/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/lib/python3.9/config >> >> -lpython3.9 >> ld: warning: directory not found for option >> '-L/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.9/lib/python3.9/config' >> ld: warning: -pie being ignored. It is only used when linking a >> main executable >> ld: unsupported tapi file type '!tapi-tbd' in YAML file >> '/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/usr/lib/libSystem.tbd' >> >> for architecture x86_64 >> clang-12: error: linker command failed with exit code 1 (use -v to >> see invocation) >> error: command >> '/Users/bashaar/anaconda3/bin/x86_64-apple-darwin13.4.0-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 mod_wsgi >> Running setup.py clean for mod_wsgi >> Failed to build mod_wsgi >> ERROR: Could not build wheels for mod_wsgi, which is required to install >> pyproject.toml-based projects >> >> Many Thanks, >> >> Bashaar >> >> On Tuesday 26 March 2024 at 08:31:24 UTC Graham Dumpleton wrote: >> >>> You need to provide the complete output from pip, not just the last >>> message otherwise I can't tell what the problem is. >>> >>> Most likely you are either missing the Python dev package, missing a >>> compiler, or missing system Apache runtime and/or dev package. >>> >>> The requirements for what you need are mentioned in: >>> >>> * https://pypi.org/project/mod-wsgi/ >>> >>> BTW, don't use "mod_wsgi-standalone" unless there is an absolute reason >>> to. Use the "mod_wsgi" package only. >>> >>> Graham >>> >>> On Tue, 26 Mar 2024 at 19:27, Bashaar Dhoot <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> I been having a problem installing mod_wsgi and mod_wsgi-standalone on >>>> terminal. >>>> >>>> I am getting error messages like: >>>> >>>> error: subprocess-exited-with-error >>>> >>>> × pip subprocess to install build dependencies did not run >>>> successfully. >>>> │ exit code: 1 >>>> ╰─> [623 lines of output] >>>> >>>> and >>>> >>>> python setup.py egg_info did not run successfully. >>>> │ exit code: 1 >>>> >>>> and >>>> >>>> note: This error originates from a subprocess, and is likely not a >>>> problem with pip. >>>> error: subprocess-exited-with-error >>>> >>>> × pip subprocess to install build dependencies did not run successfully. >>>> │ exit code: 1 >>>> ╰─> See above for output. >>>> >>>> I have looked online for solutions and really struggling to find a >>>> solution or workaround. >>>> >>>> I am running Ventura and seem to struggle downloading other packages >>>> with pip even with downgrading and upgarding it. I would really apprecite >>>> the help or someone to point me in the right direction. >>>> >>>> many thanks, >>>> >>>> Bashaar >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "modwsgi" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/modwsgi/15ef8937-db38-4172-8d71-aeef7e21acbbn%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/modwsgi/15ef8937-db38-4172-8d71-aeef7e21acbbn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "modwsgi" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/modwsgi/9ce6c5e3-1b3e-4e80-8908-0f86a3580407n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/modwsgi/9ce6c5e3-1b3e-4e80-8908-0f86a3580407n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/c2171ac0-04f0-48d6-93d1-a98add657dden%40googlegroups.com.
