Sorry, forgot to say that you first need to uninstall it.

So first run:

    pip uninstall mod_wsgi

Do this multiple times if necessary until it says there is nothing left to 
remove.

Then run:

    pip3 install --no-cache-dir mod_wsgi

Graham

> On 5 Jan 2018, at 1:57 pm, Gnarlodious <[email protected]> wrote:
> 
> Tanks for the quick advice.
> I get:
> Requirement already satisfied: mod_wsgi in 
> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
> I deleted the offending files but it still thinks they exist. Is there a 
> cache I should flush?
> 
> — Gnarlie
> 
> 
> 
> On Thursday, January 4, 2018 at 7:27:58 PM UTC-7, Graham Dumpleton wrote:
> Usually not a good idea to install stuff into system Python on MacOS X, 
> better to use a virtual environment.
> 
> Ignoring that, use:
> 
>     pip3 install --no-cache-dir mod_wsgi
> 
> What is likely happening is that you are using the cached binaries in the pip 
> cache which were created when you installed it prior to the upgrade.
> 
> Graham
> 
>> On 5 Jan 2018, at 1:24 pm, Gnarlodious <gnarl...@ <>gmail.com 
>> <http://gmail.com/>> 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 modwsgi+u...@ <>googlegroups.com <http://googlegroups.com/>.
>> To post to this group, send email to mod...@ <>googlegroups.com 
>> <http://googlegroups.com/>.
>> Visit this group at https://groups.google.com/group/modwsgi 
>> <https://groups.google.com/group/modwsgi>.
>> For more options, visit https://groups.google.com/d/optout 
>> <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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/modwsgi 
> <https://groups.google.com/group/modwsgi>.
> For more options, visit https://groups.google.com/d/optout 
> <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