Cannot install uWSGI on Ubuntu 14.04 with Python 3.4 (paths?)
Install Python 3:
sudo apt-get install python3
Install Python 3 headers to build uWSGI from source:
sudo apt-get install python3-dev
Create a Python 3 virtualenv in a venv
subdir of current dir (prepend the command with sudo
if current dir is privileged):
virtualenv -p python3 venv
Activate the venv to be the target for pip
(.
is a shortcut for source
):
. venv/bin/activate
Finally, install uWSGI (again, sudo
if in a privileged dir):
pip install uwsgi
Have you installed the correct python plugin for uwsgi?
http://packages.ubuntu.com/precise/uwsgi-plugin-python3
Then in config (your .ini file) put python3 as plugin instead of python like this:
[uwsgi]plugins = python3# Rest of your configuration...