pip - 找不到任何满足 newrelic-plugin-agent 要求的下载

标签 pip newrelic-platform

我尝试按照 https://github.com/MeetMe/newrelic-plugin-agent 中所述安装 MeetMe newrelic-plugin-agent与画中画

但是,我收到此错误消息:

#pip install newrelic-plugin-agent

Downloading/unpacking newrelic-plugin-agent
  Real name of requirement newrelic-plugin-agent is newrelic_plugin_agent
  Could not find any downloads that satisfy the requirement newrelic-plugin-agent
No distributions at all found for newrelic-plugin-agent

日志是:

------------------------------------------------------------
/usr/local/bin/pip run on Sun Jun 23 12:21:48 2013
Downloading/unpacking newrelic-plugin-agent

  Getting page https://pypi.python.org/simple/newrelic-plugin-agent/
  Could not fetch URL https://pypi.python.org/simple/newrelic-plugin-agent/: HTTP Error 404: Not Found (newrelic_plugin_agent does not have any     releases)
  Will skip URL https://pypi.python.org/simple/newrelic-plugin-agent/ when looking for download links for newrelic-plugin-agent
  Getting page https://pypi.python.org/simple/
  Real name of requirement newrelic-plugin-agent is newrelic_plugin_agent

  URLs to search for versions for newrelic-plugin-agent:
  * https://pypi.python.org/simple/newrelic_plugin_agent/
  Getting page https://pypi.python.org/simple/newrelic_plugin_agent/
  Could not fetch URL https://pypi.python.org/simple/newrelic_plugin_agent/: HTTP Error 404: Not Found (newrelic_plugin_agent does not have any     releases)
  Will skip URL https://pypi.python.org/simple/newrelic_plugin_agent/ when looking for download links for newrelic-plugin-agent
  Could not find any downloads that satisfy the requirement newrelic-plugin-agent

感谢您的帮助。

最佳答案

今天在 Ubuntu 12.04 上安装插件代理后,我增强了 MeetMe 提供的指南。 请尝试以下步骤:

  1. 安装 pip:

    $ sudo apt-get install python-pip python-dev build-essential

    $ sudo pip install --upgrade pip

    $ sudo pip install --upgrade virtualenv

  2. 对于某些插件可能需要额外安装,因此请查看插件说明。 [例如 MongoDB 插件需要 Mongo 的 python 驱动程序]

  3. 将配置文件示例复制到/etc/newrelic/newrelic_plugin_agent.cfg 并编辑该文件中的配置以启用插件并设置 New Relic 许可证 key :

    $ sudo cp/opt/newrelic_plugin_agent/etc/newrelic/newrelic_plugin_agent.cfg/etc/newrelic/newrelic_plugin_agent.cfg

  4. 将 newrelic 文件夹的所有权更改为 newrelic 用户:

    $ sudo chown newrelic:newrelic/var/run/newrelic

    $ sudo chown newrelic:newrelic/var/log/newrelic

  5. 运行代理:

    $ sudo newrelic_plugin_agent -c/etc/newrelic/newrelic_plugin_agent.cfg

  6. 如果进程没有保持运行,请尝试将其作为前台进程运行并检查输出:

    $ sudo newrelic_plugin_agent -c/etc/newrelic/newrelic_plugin_agent.cfg -f

关于pip - 找不到任何满足 newrelic-plugin-agent 要求的下载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17260730/

相关文章:

python - 无法在 Ubuntu 上安装 PyArrow

python - Pip 安装 Scrappy - "python setup.py egg_info"失败,错误代码为 1

python - 在 Python 3.4 上设置 newRelic 的问题

newrelic - 此应用程序没有数据报告 — 在 New Relic 中删除或排除故障

python - 当 pip 中的链接断开时如何在 virtualenv 中安装库

Python 和 pip,列出可用包的所有版本?

newrelic - 如何在从 Web 应用程序跟踪的错误上配置 newrelic 通知

mysql - 在 Rails 应用程序中形成 SQL 查询

android - New Relic 无法使用 eclipse 正确加载(Android)

python - 尝试使用 pip 安装 cProfile 时出现错误