安装uwsgi之后,python仍会出错:没有名为'uwsgi'的模块

问题描述 投票:1回答:1

我不确定在python3中导入uwsgi需要什么。这个问题最近才开始发生。我的应用程序中有qallxswpoi的web套接字方法,它听起来像一个相当常见的模块。

但在验证它已正确安装后:

import uwsgi

好像我不能在任何地方使用这个模块:

pip install uwsgi
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Requirement already satisfied: uwsgi in /usr/local/lib/python3.4/site-packages (2.0.18)

最近几个月uwsgi模块有变化吗?

python python-3.x uwsgi
1个回答
0
投票

Uwsgi不是应用服务器的模块。要在您的应用中使用uwsgi模块,您应该使用uwsgi运行您的应用。

© www.soinside.com 2019 - 2024. All rights reserved.