[uWSGI] Deploying a pylons application

Roberto De Ioris roberto at unbit.it
Fri Jul 9 12:08:35 CEST 2010


Il giorno 09/lug/2010, alle ore 12.03, Francesco Mazzoli ha scritto:

> Hi,
> I am running paster behind nginx right now to deploy my application,
> and I would like to switch to uwsgi.
> I am following this page: http://projects.unbit.it/uwsgi/wiki/UsePaste
> But when I run it it says:
> astroboy at ks22213 ~/dev/troppotardi $ /usr/src/uwsgi-0.9.5.4/uwsgi
> --paste config:/home/astroboy/dev/troppotardi/prod.ini --socket :3031
> -H /home/astroboy/dev/
> *** Starting uWSGI 0.9.5.4 (64bit) on [Fri Jul  9 10:42:57 2010] ***
> compiled with version: 4.4.3
> Python version: 2.6.5 (r265:79063, Apr 16 2010, 14:15:55)
> [GCC 4.4.3]
> *** WARNING: you are running uWSGI without its master process manager ***
> your memory page size is 4096 bytes
> allocated 560 bytes (0 KB) for 1 request's buffer.
> Setting PythonHome to /home/astroboy/dev/...
> 'import site' failed; use -v for traceback


The error is here, your virtualenv is invalid (probably it is generated with another python version ?)
> 

--
Roberto De Ioris
http://unbit.it
JID: roberto at jabber.unbit.it



More information about the uWSGI mailing list