Не удалось найти загрузки, удовлетворяющие требованию newrelic-plugin-agent

Я попытался установить MeetMe newrelic-plugin-agent, как описано в https://github.com/MeetMe/newrelic-plugin-agent с PIP

но у меня есть это сообщение об ошибке:

#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

Спасибо за вашу помощь.


person Thomas FAURÉ    schedule 23.06.2013    source источник


Ответы (1)


После сегодняшней установки Plugin Agent на Ubuntu 12.04 я расширил руководство, которое предоставляет MeetMe. Попробуйте выполнить следующие действия:

  1. Установить пип:

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

    $ sudo pip install --upgrade pip

    $ sudo pip install --upgrade virtualenv

  2. Для некоторых плагинов могут потребоваться дополнительные установки, поэтому ознакомьтесь с инструкциями по плагинам. [Например, для плагина MongoDB требуется драйвер Python для Mongo]

  3. Скопируйте пример файла конфигурации в /etc/newrelic/newrelic_plugin_agent.cfg и отредактируйте конфигурацию в этом файле, чтобы включить плагин и установить лицензионный ключ New Relic:

    $ 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

person ofirski    schedule 25.06.2013
comment
ты прав. Проблема в том, что PIP не обновлялся. Спасибо ! - person Thomas FAURÉ; 26.06.2013
comment
python кажется жалким в том смысле, что ни одна из версий не совместима друг с другом, и проекты никогда не упоминают, с какой версией они работают... - person Kevin; 14.07.2013
comment
Просто что-то обновить, имя пакета для 1.3.0 теперь изменено на newrelic-plugin-agent вместо newrelic_plugin_agent - person gregavola; 19.05.2014