I used pip to install a .egg-link to 
/usr/local/lib/python2.7/dist-packages/ and from the CLi I can type python 
script.py (which contains one line import test123) and it will print 
'hello' which is the one line in test123.py but when I connect to mysite 
through a web browser and run the same script using mod_wsgi it says cannot 
import test123 module..

Do I have to just manually add the .egg-link to that script? I can't find 
anyway to get mod_wsgi to look at it. I tried WSGIPythonEggs it doesn't 
seem to help from either wsgi.conf or putting it in sites-enabled/default

It could be that I am using python 2.7 and the repository gave me 3.3 
version of mod_wsgi but it runs scripts just fine with the exception of my 
.egg-links and I don't really want to have to uninstall apache2 install 
apache2-dev and then ./configure with python2.7 but I will if I have to I 
guess. I am not even sure that will fix the problem though.

-- 
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 http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to