Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named 'Queue' #557

Open
miketdollar opened this issue Aug 15, 2018 · 1 comment
Open

ImportError: No module named 'Queue' #557

miketdollar opened this issue Aug 15, 2018 · 1 comment

Comments

@miketdollar
Copy link

I'm wondering what I'm missing. I'm using ubuntu 16 LTS and setup a newrelic user account on the system. I'm using python3 and have installed python3-pip, python3-setuptools, pip has been upgraded and I was able to install the newrelic-plugin-agent. I've also installed the npi under the newrelic user account. When I try to run the newrelic-plugin-agent however I get the below error.

~# newrelic-plugin-agent -c /etc/newrelic/newrelic-plugin-agent.cfg
Traceback (most recent call last):
File "/usr/local/bin/newrelic-plugin-agent", line 9, in
load_entry_point('newrelic-plugin-agent==1.3.0', 'console_scripts', 'newrelic-plugin-agent')()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2569, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2229, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2235, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/usr/local/lib/python3.5/dist-packages/newrelic_plugin_agent/agent.py", line 13, in
import Queue as queue
ImportError: No module named 'Queue'

@srabouin
Copy link

Use python 2 ... worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants