谷歌云

使用uWSGI运行flask项目

主题参考腾讯云的文章:https://cloud.tencent.com/developer/article/1609621

在安装uwsgi时出错,参考了:https://www.codenong.com/js967d08f3509f/

安装对应版本解决了错误

yum install python36-devel

启动uWSGI

uwsgi --ini uwsgi.ini

重启uWSGI

uwsgi --reload uwsgi.pid

停止uWSGI

uwsgi --stop uwsgi.pid

GCC错误,没有那个文件或目录

Debian /Ubuntu

sudo apt-get update
sudo apt-get install --reinstall build-essential

Centos

yum install -y gcc-c++

回复

This is just a placeholder img.