> 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.
uWSGI is not a python module, when you run your application over it, you will get access to the uwsgi module (it is added to the module namespace to get access to the uWSGI api) > > 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? > you need to paste your config, maybe something is wrong there -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
