[uWSGI] Deploying a pylons application

Francesco Mazzoli e.imhotep at gmail.com
Fri Jul 9 12:03:45 CEST 2010

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-
--paste config:/home/astroboy/dev/troppotardi/prod.ini --socket :3031
-H /home/astroboy/dev/
*** Starting uWSGI (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
binding on TCP port: 3031
your server socket listen backlog is limited to 64 connections
initializing hooks...done.
Loading paste environment: config:/home/astroboy/dev/troppotardi/prod.ini
ImportError: No module named paste.deploy

Is this a python error, or a uwsgi one? What should I do?

-- Francesco

More information about the uWSGI mailing list