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 snmp #1

Closed
JBoisseau opened this issue Oct 5, 2018 · 3 comments
Closed

ImportError: No module named snmp #1

JBoisseau opened this issue Oct 5, 2018 · 3 comments
Labels

Comments

@JBoisseau
Copy link

Hi,
'python bin/python doremiapi' fails :

Traceback (most recent call last):
File "doremiapi", line 15, in
import dcitools.devices.doremi.snmp as doremi_snmp
File "/usr/local/lib/python2.7/dist-packages/dcitools-0.4.3-py2.7.egg/dcitools/devices/doremi/init.py", line 3, in
from . import snmp
File "/usr/local/lib/python2.7/dist-packages/dcitools-0.4.3-py2.7.egg/dcitools/devices/doremi/snmp.py", line 11, in
from tbx.snmp import snmp_get
ImportError: No module named snmp

I only installed dcitools from github and tbx:
https://github.com/ronhanson/python-tbx

I tried on 2 OS :
centos6.9, python 2.6, and raspbian, python2.7.13

Please assist

@ronhanson
Copy link
Owner

Hi Jeremy,
Truth is that library hasn't been updated since long. Still I think the code is still valid and would be easy to extend.
Still I will correct this today and will make it work again.
I will give more news soon.

@ronhanson
Copy link
Owner

Hey,
I've just refreshed a bit the repo with updated requirements and missing function.
This should solve your issue.
Do not hesitate if you encounter any problem, I'll be glad to help.

@ronhanson ronhanson added the bug label Oct 8, 2018
@JBoisseau
Copy link
Author

Perfect, it works.
Many Thanks

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

No branches or pull requests

2 participants