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\
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\
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)
uWSGI is implemented in C, and the version on PyPI is source only - no binaries are provided. To install it, you'll need to build it yourself, and according to the documentation only building with Cygwin is supported.
© 2022 - 2024 — McMap. All rights reserved.