腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
运行
python
脚本
时
出现
gunicorn
错误
python
、
gunicorn
、
aiohttp
这是我的
python
代码。main:app --bind localhost:8080 --worker-class aiohttp.GunicornWebWorker
错误
: [2020-10-17 21:17:13+0530] [47676] [INFO] Starting
gunicorn
20.0.4 [2020-10-17 21:17:13 +0530] [47676] [INFO] Listening[-h] [--cert-file CERT_FILE] [--key-file KEY_FILE] [--hos
浏览 97
提问于2020-10-17
得票数 0
1
回答
使用
gunicorn
时
未加载虚拟环境路径
python
、
virtualenv
、
virtualenvwrapper
我有一个
脚本
,可以加载安装在virtualenv中的pip当我像这样
运行
脚本
时
gunicorn
-c
gunicorn
_config.py script.pyfrom google.cloud import pubsub ImportEr
浏览 8
提问于2016-11-27
得票数 2
3
回答
为什么当
Gunicorn
托管
时
,Flask应用程序不创建任何日志?
python
、
logging
、
flask
、
gunicorn
当使用内置服务器(即
python
3 server.py)托管
时
,日志记录工作。使用
Gunicorn
托管
时
,不创建日志文件。#!/usr/bin/env
python
from flask import Flask --access-gfile /var/log/demo/acce
浏览 40
提问于2014-10-26
得票数 76
回答已采纳
5
回答
Nginx Django和
Gunicorn
。刚尼桑的袜子文件不见了?
python
、
django
、
python-2.7
、
nginx
、
gunicorn
我有一个基于这个的ansible供应VM,但是由于某种原因,试图启动
Gunicorn
会
出现
以下
错误
: 实际上,指定目录中缺少套接字文件。下面是我的
gunicorn
_start
脚本<
浏览 8
提问于2015-02-24
得票数 16
1
回答
在mac os x上,我如何在
python
3.8而不是
python
3.9中使用
gunicorn
?
python
、
python-3.x
、
macos
、
gunicorn
-w 4 echo:app)
时
,我得到了一个“命令找不到”的
错误
。我还尝试使用pip、pip3和brew安装
gunicorn
3,但每种安装都
出现
错误
。我能够使用以下命令来安装和
运行
gunicorn
:但是,它似乎正在
运行
python
2。我试过了但是得到了一个
错误
。如何在Mac上的
py
浏览 0
提问于2021-01-28
得票数 0
3
回答
使用WSGI
gunicorn
的Django中存在
Python
应用导入
错误
python
、
django
、
import
、
wsgi
、
gunicorn
我试图在Heroku上部署一个带有
gunicorn
的Django应用程序,但我遇到了一些故障。当我开始我的项目
时
,我的Django版本是1.3,并且不包含标准的wsgi.py模块,所以我添加了标准的wsgi模块作为top/wsgi.py (top是我的项目名称,turk是我的应用程序名称,topturk是包含目录-保留下来,所以
错误
日志在下面有意义)。00:42 web.1 | 2012-07-25 19:00:42 [7870] [INFO] Booting worker with pid: 7870 但是当我导航到0.
浏览 5
提问于2012-07-26
得票数 5
回答已采纳
1
回答
如何在主管中激活
python
虚拟环境?
python
、
virtualenv
、
supervisord
激活tensorflow_p36环境并
运行
python
wsgi.pystderr_logfile = /home/ec2-user/abc/logs/
gunicorn
/
gunicorn
_stderr.log 该文件位于默认的/etc例如,我在导入tensorflow、烧瓶等时会
出现
错误
。然而
浏览 2
提问于2018-03-06
得票数 6
1
回答
安装
gunicorn
时
出现
语法
错误
python
、
heroku
、
gunicorn
我遵循这个Heroku教程:,当我试图在一个虚拟环境中安装
gunicorn
时
,我得到了这个
错误
:Downloading/unpacking
gunicorn
Downloading
gunicorn
-19.1.1-py2.py3-none-any.whl (104kB): 104kB/build/
gu
浏览 0
提问于2014-09-02
得票数 38
回答已采纳
2
回答
将Django与Nginx部署为服务
django
、
ubuntu
、
deployment
、
nginx
、
webserver
目前,我有一个
运行
nginx的主服务器(Ubuntu),其中我使用proxy pass将请求传递给django。我使用gevent作为我的wsgi服务器。因为nginx是一个服务,所以当服务器重启
时
,nginx也会启动。然而,我的django应用程序不支持。
浏览 1
提问于2012-08-11
得票数 1
回答已采纳
1
回答
烧瓶--
Gunicorn
应用程序无法使__name__与“__main__”相等
python
、
nginx
、
flask
、
gunicorn
if __name__ == '__main__': app.run()$
gunicorn
app:app -b 127.0.0.2:8000上面写着:2013-03-01 11:26:56 [21907] [INFO]不是__main__,我需要它来
运行
if语句。 我尝试在目录中放置一个空的__ini
浏览 3
提问于2013-03-01
得票数 10
回答已采纳
1
回答
在google云上部署Django后端在控制台上
出现
错误
,但在日志中没有
错误
django
、
google-cloud-platform
我能够成功地部署示例应用程序,但当我尝试部署我的django应用程序时,我得到了以下
错误
:sha256:d43a6f7d84335f8d724e44cee16de03fd50685d6713107a83b70f44d3c6b5e8f.20180403t182207:latestApril 3, 2018 at 6:23:32 PM UTC+5:306 min 13 sec 在GCP日志中,它也没有显示
错误
bcbackend-200008:europe-west3:bc-mys
浏览 5
提问于2018-04-03
得票数 0
3
回答
django应用程序如何启动它的virtualenv?
django
、
virtualenv
当我通过ssh进入站点来处理它
时
,我知道我需要使用源.venv/bin/activate来调用它。我的问题是: web应用程序如何调用虚拟环境?我怎么知道它使用的是.venv,而不是全局
python
? 更多细节:这是一个带有Django的Drupal网站。Apache it作为主服务器。我相信姜戈是由黑角牛上桌的。设计师离开了小镇_
浏览 0
提问于2017-03-22
得票数 0
2
回答
gunicorn
_django -b 0.0.0.0项目名称/设置/Production.py
django
、
gunicorn
$
python
manage.py run_
gunicorn
0.0.0.0:80 -设置=project_name.set。 worker.init_process() File "/usr/lo
浏览 3
提问于2013-06-28
得票数 2
回答已采纳
2
回答
无法使用systemd django启动
gunicorn
django
、
gunicorn
、
systemd
、
virtualenvwrapper
我有以下systemd文件:Description=
gunicorn
daemonUser=jcgWantedBy=multi-user.targetjcg@jcg-Inspiron-1011:/var/log$ systemctl status
gunicorn
●
gunicorn</
浏览 1
提问于2016-05-17
得票数 8
回答已采纳
1
回答
无法在Google上部署Ubuntu20.04 Docker容器
docker
、
ubuntu
、
google-cloud-run
我正在尝试通过Google
运行
部署一个简单的基于
Python
的基于Ubuntu20.04的Docker容器。我已经成功地构建了映像,但是当我尝试部署云
运行
服务
时
,我得到了以下
错误
(项目细节省略了):WORKDIR /app && DEBIAN_FRONTEND=noninteractive
浏览 3
提问于2020-05-12
得票数 9
1
回答
web2py anyserver.py.如何传递胶角参数
gunicorn
、
web2py
目前,我们的生产服务器
运行
以下命令:我需要传递
gunicorn
参数"timeoutINT“()
python
anyserver.py -s
gunicorn
-i 127.0.0.1 -p 8000 --workers=9 --timeout 120anyserver.py: error: no
浏览 4
提问于2021-07-01
得票数 0
1
回答
Gunicorn
| Selenium - Message:找不到匹配的功能集
python
、
selenium
、
firefox
、
virtualenv
、
gunicorn
通过我创建的systemd服务文件,我在使用firefox geckodriver
运行
selenium headless
时
遇到问题。我知道selenium headless正在工作,因为我可以激活virtualenv并
运行
python
脚本
,而不会
出现
任何问题。我在没有
运行
虚拟环境的情况下对它进行了测试,它工作得很好。我跟踪了 raise exception_class(messa
浏览 0
提问于2018-06-17
得票数 1
12
回答
如何让
Gunicorn
使用
Python
3而不是
Python
2 (502坏网关)
django
、
python-2.7
、
python-3.x
、
nginx
、
gunicorn
我正试图让
Gunicorn
使用
Python
3作为我想要制作的Django应用程序。我正在使用数字海洋的Django图像开始。它与Django,
Gunicorn
和Nginx一起安装和配置。这个图像附带的默认Django项目在
Python
2中似乎
运行
良好。 为了避免任何问题,我也这样做了。
错误
页面显示我
浏览 9
提问于2014-05-29
得票数 52
回答已采纳
2
回答
linode上的
gunicorn
未启动
python
、
django
、
nginx
、
gunicorn
、
linode
我正在使用
gunicorn
来部署我的
python
web应用程序。当我使用这个命令
gunicorn
_django -c
gunicorn
.conf.py启动它
时
,我得到了这个
错误
: File "/usr/local
浏览 0
提问于2012-10-15
得票数 2
1
回答
刚开始时会出错
python
、
django
、
nginx
、
virtualenv
、
gunicorn
我创建了bash
脚本
gunicorn
_start:,但是当我
运行
这个
脚本
时
,我陷入了
错误
:File "/home/alex/webapps/hello_ice1/local/lib/
python
2.7/site-packages/
浏览 0
提问于2013-11-23
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
云直播
活动推荐
运营活动
广告
关闭
领券