I’m stuck trying to install uWSGI to deploy my Django application using pip install uwsgi, but encounter this error:
I’ve found several answers that unfortunately didn’t work for me, like update dev tool ,install cywin or modify uwsgiconfig.py (which doesn’t exist since it’s not installed ), or maybe I’m missing something.
Advertisement
Answer
For the install cygwin attempt, did you also select the python3-devel package? os is only available for linux and not Windows which uses platform.
For the modify uwsgiconfig.py file, you can manually download it from here and then modify to replace all instances of os.uname() with platform.uname()