如何在heroku ImportError上重新启动datadog代理:没有名为si的模块

2024-03-28 20:28:41 发布

您现在位置:Python中文网/ 问答频道 /正文

我有heroku应用程序和datadog代理程序在应用程序dyno上运行。一切正常,除了我不能重新启动datadog代理。你知道吗

我试图阻止探员,因为:

agent stop -c .apt/etc/datadog-agent

工作和表现

Agent successfully stopped

我试着在以下情况下开始:

agent run -c .apt/etc/datadog-agent

这说明

ImportError: No module named site

我更新了Procfile以包含myappname:app但是在尝试启动代理时,这仍然没有解决问题。你知道吗


Tags: 程序应用程序代理herokuetc情况aptagent