nginxinc / nginx-amplify-agent

NGINX Amplify Agent
BSD 2-Clause "Simplified" License
23 stars 9 forks source link

No module named 'amplify.agent'` #17

Closed cell13 closed 1 year ago

cell13 commented 7 years ago

os: CentOS release 6.5 (Final) 2.6.32-431.el6.x86_64 python version: 2.7.13 amplify-agent version: nginx-amplify-agent-0.46-2.el6.x86_64.rpm
i have installed the nginx-amplify as the way in amplify.nginx.com step by step. I meet the below problem when i trying starting amplify-agent. I try the pip command, but there is nothing work. tarting nginx-amplify-agent: Traceback (most recent call last): File "/usr/bin/nginx-amplify-agent.py", line 16, in <module> from amplify.agent.common.util import configreader File "/usr/local/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__ result = _import(*args, **kwargs) ImportError: No module named agent.common.util

gshulegaard commented 6 years ago

Does this problem persist with a more recent version of agent?

achawla2012 commented 1 year ago

Please update agent to latest version, which now comes with Python 3. https://amplify.nginx.com/docs/guide-installing-and-managing-nginx-amplify-agent.html#updating-the-agent Closing this ticket. Please feel free to reopen if you see this problem after an update.