Install uwsgi and pythonuwsgi in python in windows
1. Install using pip
pip install uwsgi
Error: OS does not have uname ()
Solution:
Go to the uwsgiconfig. py file. First import platform and change OS. unam () to platform. uname.
OS. uname () does not support windows. The platform module supports any system.
2. Download uwsgi offline Installation
Https://pypi.python.org/pypi/uWSGI/
Decompress the package and go to the directory.
python setup.py install
Error: Exception: you need a C compiler to builduWSGI
Solution: configure the C compiling environment
If the local machine does not have a C compiling environment, you need to download a compiler (MinGW/tinycc)
Codeblocks is installed on my computer, so MinGW is installed, and then system variables are configured.
Path =; MinGW directory/bin
Http://jingyan.baidu.com/article/6b97984da0bd8a1ca2b0bf90.html
3. Install again
If the installation is successful, the system still reports an error. Later, we found that windows does not currently support uwsgi.
Refer:
Http://lists.unbit.it/pipermail/uwsgi/2011-May/002092.html
Http://blog.csdn.net/sunhuaqiang1/article/details/70185022
Https://docs.python.org/3/library/ OS .html? Highlight = uname # OS. uname
Https://stackoverflow.com/questions/32163910/uwsgi-installation-error-in-windows-7