当前位置:首页 - Python

python flask 报错uwsgi: command not found

作者:高景洋 日期:2021-11-17 07:22:15 浏览次数:1304

问题


pip install uwsgi 之后,运行uwsgi 报错:[uwsgi: command not found]


解决方案:建立软链接


ln -s /usr/local/python3/bin/uwsgi /usr/bin/uwsgi


建立软链后,再次运行uwsgi ,即恢复正常

本文永久性链接:
<a href="http://r4.com.cn/art206.aspx">python flask 报错uwsgi: command not found</a>
当前header:Host: r4.com.cn X-Host1: r4.com.cn X-Host2: r4.com.cn X-Host3: 127.0.0.1:8080 X-Forwarded-For: 18.222.179.186 X-Real-Ip: 18.222.179.186 X-Domain: r4.com.cn X-Request: GET /art206.aspx HTTP/1.1 X-Request-Uri: /art206.aspx Connection: close Accept: */* User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)