Am beginning to wander if we are in a cycle where you reply or send again before reading the reply I just sent.
As I just explained, that output indicates that mod_wsgi.so is using MacPorts Python. The Django however is installed in the Apple Python and thus why Python (MacPorts) running under mod_wsgi cannot find it. As I suggested, download and installed the precompile mod_wsgi.so for Apple Apache/Python from mod_wsgi site and use it instead. Then ensure you are using /usr/bin/python and not MacPorts Python from /opt/local when running Python from command line and you will be fine. As I said, I suspect you haven't ever actually been running MacPorts Python on command line even though you installed it. By default it isn't in your PATH and so unless you changed your PATH you wouldn't have been using it and thus why Django was actually installed for Apple Python. I will now wait a long time for you to catch up and understand all the mails. :-) Graham On 21 January 2011 13:23, cocobuster <[email protected]> wrote: > What about the otool result , is it proper? > > Terminal>>otool -L /usr/libexec/apache2/mod_wsgi.so > > /usr/libexec/apache2/mod_wsgi.so: > /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python > (compatibility version 2.6.0, current version 2.6.0) > /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version > 125.2.1) > > /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation > (compatibility version 150.0.0, current version 550.42.0) > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/modwsgi?hl=en. > -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
