Hi, macOS - Big Sur (11.6.2) . Yes its an Intel System. *file /Users/apple/.virtualenvs/djangodev/lib/python3.8/site-packages/mod_wsgi/server/mod_wsgi-py38.cpython-38-darwin.so <http://mod_wsgi-py38.cpython-38-darwin.so/>*
/Users/apple/.virtualenvs/djangodev/lib/python3.8/site-packages/mod_wsgi/server/mod_wsgi-py38.cpython-38-darwin.so: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle x86_64] [arm64:Mach-O 64-bit bundle arm64] /Users/apple/.virtualenvs/djangodev/lib/python3.8/site-packages/mod_wsgi/server/mod_wsgi-py38.cpython-38-darwin.so (for architecture x86_64): Mach-O 64-bit bundle x86_64 /Users/apple/.virtualenvs/djangodev/lib/python3.8/site-packages/mod_wsgi/server/mod_wsgi-py38.cpython-38-darwin.so (for architecture arm64): Mach-O 64-bit bundle arm64 *file /usr/sbin/httpd* /usr/sbin/httpd: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e:Mach-O 64-bit executable arm64e] /usr/sbin/httpd (for architecture x86_64): Mach-O 64-bit executable x86_64 /usr/sbin/httpd (for architecture arm64e): Mach-O 64-bit executable arm64e *which apxs* apxs not found *apxs -q BINDIR* zsh: command not found: apxs I have installed mod_wsgi using the command - > pip install mod_wsgi Thanks Suraj On Tuesday, 8 March, 2022 at 1:27:22 am UTC+5:30 Graham Dumpleton wrote: > Give the OS version, I presume this is an Intel system? > > What do you get when you run: > > file > /Users/apple/.virtualenvs/djangodev/lib/python3.8/site-packages/mod_wsgi/server/ > mod_wsgi-py38.cpython-38-darwin.so > > and: > > file /usr/sbin/httpd > > and: > > which apxs > > and: > > apxs -q BINDIR > > Graham > > On 8 Mar 2022, at 1:50 am, Suraj Shaw <[email protected]> wrote: > > Hi , > > I am using the following configuration.I have installed mod_wsgi using pip > command.I am using macos bigSur(11.6.2). > > mod-wsgi==4.9.0 > > Server version: Apache/2.4.51 (Unix) - Apple Version > > I am getting the following error > > httpd: Syntax error on line 191 of /private/etc/apache2/httpd.conf: Cannot > load > /Users/apple/.virtualenvs/djangodev/lib/python3.8/site-packages/mod_wsgi/server/ > mod_wsgi-py38.cpython-38-darwin.so into server: > dlopen(/Users/apple/.virtualenvs/djangodev/lib/python3.8/site-packages/mod_wsgi/server/ > mod_wsgi-py38.cpython-38-darwin.so, 10): Library not loaded: > @rpath/Python3.framework/Versions/3.8/Python3\n Referenced from: > /Users/apple/.virtualenvs/djangodev/lib/python3.8/site-packages/mod_wsgi/server/ > mod_wsgi-py38.cpython-38-darwin.so\n Reason: image not found > > Could anyone please guide me on this. > > Thanks and Regards > Suraj > > -- > 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/a5b75dca-04da-423c-abcd-9464fd19088en%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/a5b75dca-04da-423c-abcd-9464fd19088en%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/87edc051-6ee1-4971-b010-fe6c71b0412cn%40googlegroups.com.
