Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to setup uwsgi to use pypy following what is posted here, using the build PyPy support as a plugin method.

I have seemed to manage to build the pypy plugin using:

Linux x86 64-bit:

Now I'm running uwsgi with this ini file below:

plugins = /home/alphad/uwsgi-2.0/pypy
http = :8080
chdir = /var/www/projecta/src/myproject
pypy-pp = ..
env = DJANGO_SETTINGS_MODULE=myproject.settings
processes = 6
disable-logging = false
catch-exceptions = false
post-buffering = 8192
vacuum = true
listen = 120
pypy-home = /home/alphad/pypy-2.2.1-linux64/
pypy-lib = /home/alphad/pypy-2.2.1-linux64/lib_pypy/
pypy-wsgi-file = myproject/apache/django.wsgi

It seems to be detecting pypy, but also it's trying to use python, so it stops/crashes with the following error:

!!! Loading both PyPy and CPython in the same process IS PURE EVIL AND IT IS NOT SUPPORTED !!!

How can I get uwsgi to properly run using PYPY? I'm not trying to be evil...

share|improve this question
up vote 3 down vote accepted

Rebuild your uWSGI server without the python plugin embedded.

make PROFILE=nolang

will do the trick

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.