Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 72 results for
pysnmp
- Page 1
Re: pysnmp
Programming
Software Development
13 Years Ago
by TrustyTony
…D:\Python26>easy_install
pysnmp
Searching for
pysnmp
Best match:
pysnmp
4.1.14a Processing
pysnmp
-4.1.14a-py2…active version in easy-install.pth Installing build-
pysnmp
-mib script to D:\Python26\Scripts Installing libsmi2pysnmp…py2.6.egg Processing dependencies for
pysnmp
Finished processing dependencies for
pysnmp
D:\Python26>python Python 2…
pysnmp
Programming
Software Development
13 Years Ago
by novice20
hi all.. am working with python 2.4.1 n have
pysnmp
4.1.14a installed.. the statement from
pysnmp
.entity.rfc3413.oneliner import cmdgen gives me the following error: ImportError: No module named
pysnmp
.entity.rfc3413.oneliner can anyone pls give me the reason? eagerly awaiting any response. Thanx in advance
Re: pysnmp
Programming
Software Development
13 Years Ago
by cghtkh
I install
pysnmp
4.1.14a and I get the same error. From the README file, I realize you also need to install the pyASN1 package below: [url]http://pypi.python.org/pypi/pyasn1/0.0.11a[/url] I am able to import successfully after that.
Re: Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by rudasi
…and Settings\rudasi>easy_install
pysnmp
Searching for
pysnmp
Reading http://pypi.python.org/simple/
pysnmp
/ Download error: [Errno … be found! Couldn't find index page for '
pysnmp
' (maybe misspelled?) Scanning index of all packages …found! No local packages or download links found for
pysnmp
Best match: None Traceback (most recent call last…
Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by novice20
…]python2.4 on windows[/B], and want
pysnmp
to be imported. Have downloaded [B]
pysnmp
-4.1.14a.tar.gz[/B] and…-packages\[/B]. Still i am getting the import error. from
pysnmp
.entity.rfc3413.oneliner import cmdgen ImportError: No module named…
Re: Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by snippsat
….py install [/ICODE] [CODE]>>> import
pysnmp
>>> dir(
pysnmp
) ['__builtins__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', 'majorVersionId…
Re: Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by snippsat
[QUOTE]Was anyone able to get easy_install
pysnmp
to work with python 2.7.1 and easy …with port/firwall on your pc. You can download from
pysnmp
website and not use easy_install. [url]http://sourceforge.net/projects…/
pysnmp
/files/
pysnmp
/2.0.9/[/url] Then you use [ICODE]python …
Re: Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by snippsat
… setuptools as postet before. It took my 15sek to install
pysnmp
with setuptools. This is also done in [B]cmd[/B…] and not in IDLE [ICODE]easy_install
pysnmp
[/ICODE] [QUOTE]#!/usr/bin/env python[/QUOTE] This is only…
Re: Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by novice20
As Gribouillis suggested, I moved pyasn1 and
pysnmp
to D:\Python24\ in my PC. at command line, i …
pysnmp and TRAP messages
Programming
Software Development
12 Years Ago
by LoveMyPadres
HELP MR. WIZARD!! I have been using
PySNMP
for a while, talking to devices and getting values very … to use it. I've seen the sytax in the
pysnmp
manual, but I don't know how to actually use…
pysnmp equivalent of snmpwalk
Programming
Software Development
13 Years Ago
by novice20
Hi, in the
pysnmp
tutorial, I couldn't find an equivalent for snmpwalk. What can be used?
y2exe and pysnmp
Programming
Software Development
13 Years Ago
by LoveMyPadres
…the same behavior) and py2exe. When I execute a
pysnmp
oneliner, like this: [CODE] errorIndication, errorStatus, errorIndex…] I get this output: [CODE] File "
pysnmp
\entity\rfc3413\oneliner\cmdgen.pyc", line 116, in…: No module named mibs.instances [/CODE]
Pysnmp
clains to be py2exe friendly. Anyone got a…
py2exe and pysnmp problems
Programming
Software Development
13 Years Ago
by LoveMyPadres
…, at least on the oneliner form I'm using.
Pysnmp
claims to be py2exe friendly, and I want to know…"snmpbad.py", line 6, in doCmd File "
pysnmp
\entity\rfc3413\oneliner\cmdgen.pyc", line 116, in __init__… File "
pysnmp
\entity\engine.pyc", line 16, in __init__ File "…
Re: y2exe and pysnmp
Programming
Software Development
13 Years Ago
by LoveMyPadres
…is the full code: [CODE] from
pysnmp
.entity.rfc3413.oneliner import cmdgen from
pysnmp
.entity import config from Tkinter import *….py", line 6, in doCmd File "
pysnmp
\entity\rfc3413\oneliner\cmdgen.pyc", line 116, in… __init__ File "
pysnmp
\entity\engine.pyc", line 16, in __init__ File…
Re: py2exe and pysnmp problems
Programming
Software Development
13 Years Ago
by popper12
Make sure you are running the latest
pysnmp
and have the following code in your app… files not found by modulefinder options['options'] = { 'py2exe': { 'includes': [ '
pysnmp
.smi.mibs.*', '
pysnmp
.smi.mibs.instances.*' ] } } apply(setup, (), options) [/code]
Re: y2exe and pysnmp
Programming
Software Development
13 Years Ago
by popper12
…'] # add files not found my modulefinder options['options'] = { 'py2exe': { 'includes': [ '
pysnmp
.smi.mibs.*', '
pysnmp
.smi.mibs.instances.*' ] } } apply(setup, (), options) [/code]
Re: py2exe and pysnmp problems
Programming
Software Development
13 Years Ago
by LoveMyPadres
…")] }], options = { "py2exe":{ 'includes': [ '
pysnmp
.smi.mibs.*', '
pysnmp
.smi.mibs.instances.*' ] } } ) [/CODE] This worked…
Re: y2exe and pysnmp
Programming
Software Development
13 Years Ago
by LoveMyPadres
… files not found my modulefinder options['options'] = { 'py2exe': { 'includes': [ '
pysnmp
.smi.mibs.*', '
pysnmp
.smi.mibs.instances.*' ] } } apply(setup, (), options) [/CODE] This worked…
Re: py2exe and pysnmp problems
Programming
Software Development
13 Years Ago
by popper12
That was a code snippet from the setup.py
pysnmp
-apps package. You could download and check it out. However … not really need to use the apply() function. In the
pysnmp
-apps case, it was used to invoke setup() function and…
Re: py2exe and pysnmp problems
Programming
Software Development
13 Years Ago
by snippsat
Dident get you
pysnmp
script to work. Here is a working py2exe kode. [CODE]…
Re: Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by Gribouillis
Python's importer does not understand .tar.gz files. You should uncompress the files with 7zip and install the modules properly. Alternately, you can extract them with python [code=python] import tarfile tar = tarfile.open(mode= "r:gz", fileobj = open("path_to_tgz_file", "rb")) tar.extractall("…
Re: Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by novice20
@ Gribouillis. Thank you. I extracted the files using 7zip before putting it under site-packages. I still got the import error. So, I navigated to D:\Python24\Lib\site-packages\pyasn1 and just tried running the module setup.py (i.e., I gave Run module in the IDE). It showed the following error: [CODE]Traceback (most recent call last): File &…
Re: Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by Gribouillis
You should use [icode]python setup.py install[/icode] in a cmd tool. Also you should first move the pyasn1 folder somewhere else on your computer. The setup.py will copy the necessary files to site-packages automatically (you need administrator privileges). Also read the README and INSTALL files if any.
Re: Pysnmp for windows IDE
Programming
Software Development
13 Years Ago
by novice20
@ snippsat: Thanks a lot for ur patient and detailed explanation. It helped me a lot. :)
Re: y2exe and pysnmp
Programming
Software Development
13 Years Ago
by snippsat
Can you post the script,so shall i test it in py2exe and cxfreeze.
Re: py2exe and pysnmp problems
Programming
Software Development
13 Years Ago
by LoveMyPadres
When I run it, I have to type setup py2exe Perhaps that would execute it. I'll try yours, it looks much more complete. I'll also check into gui2exe.
Re: py2exe and pysnmp problems
Programming
Software Development
13 Years Ago
by snippsat
[QUOTE]When I run it, I have to type setup py2exe[/QUOTE] You run it as every other python code. From your editor or command line [ICODE]python name_of_script.py[/ICODE]
Re: py2exe and pysnmp problems
Programming
Software Development
13 Years Ago
by LoveMyPadres
Popper, thanks again for solving my problem. I really appreciate the help and information.
varBinds help
Programming
Software Development
13 Years Ago
by novice20
… do an snmp get on a USB key status from
pysnmp
.entity.rfc3413.oneliner import cmdgen #--query on ccmSDIDUKeyStatus errorIndication, errorStatus…
Re: varBinds help
Programming
Software Development
13 Years Ago
by Gribouillis
… probably this Integer class [url]http://twistedsnmp.sourceforge.net/pydoc/
pysnmp
.asn1.univ.html#Integer[/url] or a similar class. Since…
1
2
3
Next
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC