uwsgi的官方文档提供了三种安装方式:
https://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html
一般来说直接使用pip安装比较方便,但是安装过程可能会出错
比如说这个错误:
有人说是conda版本的问题,折腾了半天,实际上是gcc版本的问题,这里有人解决了
https://blog.csdn.net/qq_23869697/article/details/89606575
这个问题实际上是gcc版本过高,需要手动降低gcc版本
然后一般来说就可以顺利安装通过,安装通过后,直接使用命令可能会出错:
uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
https://blog.csdn.net/weixin_33127753/article/details/91958254
现在顺利的话,就可以使用了