uWSGI fails to install on Windows

python, wsgi

Solution

The easy fix which i find was to download and modify configurations

Download this stable lts release of uWSGI

Then after extracting, quickly navigate to the path where this file is available 'uwsgiconfig.py' open it.

Do the following changes:

import platform

and then wherever you encounter `os.uname()[x-index]` replace it with `platform.uname()[x-index]`

finally open the terminal/cmd in the working path and run 'python setup.py install' (make sure you have gcc installed & configured)

Problem

I'm trying to install uWSGI on Windows using `pip install uwsgi` and it keeps failing with the bellow error: ``` Command "python setup.py egg_info" failed with error code 1 in c:\users\fathima\appdata\local\temp\pip-build-igkqn2\uwsgi\ ```

Original source