How to use python 2.5 with netsnmp
"Uttamchandani, Amit" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hey Everyone,
I am currently using netsnmp with the default version of python that is shipped with debian etch (Python 2.4). However, I need to use python 2.5 specifically for certain packages. What is the proper way of setting up netsnmp with python 2.5.
Here are some notes:
1. I installed python 2.5 from the official debian repos and ran import netsnmp. It couldn't find the libraries.
2. I searched for the libraries and they are located in: /usr/lib/python2.4/site-packages/netsnmp_python-1.0a1-py2.4-linux-i686.egg
* Can I just copy these libraries to /usr/lib/python2.5/...
3. I tired installing the netsnmp python bindings by running `sudo python2.5 setup.py install` and get the following error:
Traceback (most recent call last):
File "setup.py", line 2, in <module>
from setuptools import setup, Extension, find_packages
ImportError: No module named setuptools
* Now, I have installed installed python2.5-setuptools and python2.5-dev as well.
Any ideas?
Thanks,
Amit
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users