I want to install NetSNMP Python Bindings in Ubuntu 12.04 LTS system.
But I got some in install progress.
First, I got the net-snmp-5.7.1 source tar, and did the following things:
./configure –with-python-modules
apt-get install libperl-dev
But when I used the command ''make'' to compile the Net-SNMP source.
Facing the error like below:
Traceback (most recent call last):
File "setup.py", line 2, in <module>
from setuptools import setup, Extension, find_packages
ImportError: No module named setuptools
I search some solutions, and someone use 'python-updater –i' to solve this problem.
But in my system, I don't have this command.
And the python version I use is 2.7.3
Can someone help me solve this problem?
Thanks.
Best Answer
sudo apt-get install python-setuptools
. (And while you're at it, why not installpython-pynetsnmp
?)