Hi guys,
I have two virtual environments (--no-site-packages) installed on a ubuntu 12
server; each one of them I used pip to install uwsgi:
which uwsgi
/home/lcssisadmin/dragontv-python/bin/uwsgi
which python
/home/lcssisadmin/dragontv-python/bin/python
Right, so at the python interpreter:
import uwsgi
Traceback: ImportError: No module named uwsgi
This happens in both python environments.
Also, launching uwsgi with full-paths:
/home/lcssisadmin/dragontv-python/bin/uwsgi --ini-paste
~/dragontv-mediacore/deployment.ini
I get the following error (in the web app, not in uwsgi):
open() /home/lcssisadmin/mediacore-community/data/images/media/226l.jpg failed:
No such file or directory
That's the wrong directory. I don't understand how or why uwsgi would be
serving up files from the directory of the other virtualenv. Does it have
something to do with the egg?
At the moment I fixed it by doing a symlink.
Thanks for any debugging help.
-Adam
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi