Re: [pysnmp-users] Can't get pysnmp to run under Python 3.4
Brought to you by:
elie
From: Ilya E. <il...@gl...> - 2015-02-20 19:36:49
|
Hi David, A traceback would help better understand what’s going on. To test the availability of the library for specific Python version you could try to import it into one Python or another: $ python3.4 >>> import pysnmp >>> ^D $ python2.7 >>> import pysnmp >>> ^D To install pysnmp for python 3.4 you should run pip3.4 or easy_install-3.4. -ilya > On 20 Feb 2015, at 21:29, Carlson, K David <K.C...@xe...> wrote: > > Whenever I run the PySNMP sample code in an IDLE 3.4 window I get “ImportError: No module named ‘pysnmp’” > I have successfully installed Python 3.4 with IDLE and the OS already had Python 2.7.6 installed, I installed pysnmp 4.2.5 with easy_install. > If I run the sample code at a Python 2.7.6 prompt in a terminal window it runs fine, trying the same with 3.4 gives me “NameError: name ‘errorIndication’ is not defined” . > My linux skills are weak and I would think that this is a path issue but I can’t find any documentation that points me in the right direction. Any help would be appreciated. > > Thanks, > > Dave |