Excellent, its finally working. Thank you for your quick help!

I would just add that the file
mod_wsgi-py36.cpython-36m-darwin.so
MUST reside in the folder where its written, so the import statement is the 
rather bulky:
LoadModule wsgi_module 
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/mod_wsgi/server/mod_wsgi-py36.cpython-36m-darwin.so
Probably a symlink would be more manageable, but I'm just happy to have it 
working.
I'll look into the “virtual environment” thing.

-- Gnarlie





-- Gnarlie

On Thursday, January 4, 2018 at 8:42:49 PM UTC-7, Graham Dumpleton wrote:
>
> What do you get if you run 'python' and do:
>
>     import mod_wsgi
>     mod_wsgi.__file__
>
> Graham
>
> On 5 Jan 2018, at 2:28 pm, Gnarlodious <[email protected] <javascript:>> 
> wrote:
>
> It says it installed it but I don’t know where. Can’t find it in Python 
> 2.7, not in Python 3.6 and not in Apache.
>
> Weird. A lot about 10.13 seems broken in the innards.
>
> — Gnarlie
>
>
> On Thursday, January 4, 2018 at 7:24:49 PM UTC-7, Gnarlodious wrote:
>>
>> Hello. Upgraded to OSX 10.13.2 and having extreme difficulty getting my 
>> websites running.
>> Python 3.6.4
>> Apache 2.4.29 built for daemon mode (worker MPM).
>> mod_wsgi installed using the *sudo pip3 install mod_wsgi* command
>> Error I get:
>> Cannot load mod_wsgi.so into server: dlopen(mod_wsgi.so, 10): image not 
>> found
>> otool -L reports:
>> /Library/Frameworks/Python.framework/Versions/3.6/Python (compatibility 
>> version 3.6.0, current version 3.6.0)
>> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 
>> 1252.0.0)
>>
>> Just guessing that libSystem.B.dylib is not compatible with mod_wsgi and 
>> so it won’t load. 
>>
>> Any solution?
>>
>> — Gnarlie
>>
>>
> -- 
> 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] <javascript:>.
> To post to this group, send email to [email protected] <javascript:>
> .
> Visit this group at https://groups.google.com/group/modwsgi.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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