Hello there,
I've seen many posts and tutorials about solving this problem but none of 
them matches my case.

My OS is Mojave 10.14. I've installed mod_wsgi 4.6.5 issuing pip install 
and message after is following:

         Requirement already satisfied: mod_wsgi in 
/anaconda3/lib/python3.7/site-packages (4.6.5)

I've been advised to configure mod-wsgi manually and I've run:

    mod_wsgi-express module-config

    LoadFile "/anaconda3/lib/libpython3.7m.dylib"

    LoadModule wsgi_module 
"/anaconda3/lib/python3.7/site-packages/mod_wsgi/server/mod_wsgi-py37.cpython-37m-
 
  

      darwin.so"

    WSGIPythonHome "/anaconda3"

  then I'm trying to configure mod_wsgi and put the code above in :
cd etc/apache2/
      sudo vi httpd.conf

after running command:

     /usr/sbin/httpd -M

I get message:

Syntax error on line 71 of /private/etc/apache2/httpd.conf: Cannot load 
/anaconda3/lib/libpython3.7m.dylib into server: 
dlopen(/anaconda3/lib/libpython3.7m.dylib, 10): no suitable image found.  
Did find:\n\t/anaconda3/lib/libpython3.7m.dylib: code signature in 
(/anaconda3/lib/libpython3.7m.dylib) not valid for use in process using 
Library Validation: mapped file has no cdhash, completely unsigned? Code 
has to be at least ad-hoc signed.\n\t/anaconda3/lib/libpython3.7m.dylib: 
stat() failed with errno=22

Any help how I can fix it?




-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to