*** Operational MODE: preforking+threaded *** Importing environment from .env file SECRET KEY ENV VAR NOT SET! SHOULD NOT SEE IN PRODUCTION
时间: 2023-11-07 18:55:41 浏览: 182
基于ssm+mysql的超市管理系统源码数据库论文.doc
*** Python threads support is disabled. You can enable it with --enable-threads ***. Import _ssl # if we can't import it, let the error propagate. *** WARNING: you are running uWSGI as root!!! (use the --uid flag) ***. Operational MODE: preforking threaded. Importing environment from .env file SECRET KEY ENV VAR NOT SET! SHOULD NOT SEE IN PRODUCTION.
这些信息提示了一些关于Python线程支持、SSL导入以及uWSGI的运行方式的问题。首先,Python线程支持被禁用,可以通过使用--enable-threads选项来启用。其次,如果无法导入_ssl模块,则会出现错误。最后,警告提示您正在以root用户身份运行uWSGI,应该使用--uid标志来更改用户。运行模式为preforking threaded。从.env文件中导入环境,但密钥环境变量未设置,这在生产环境中是不应该出现的。
阅读全文