[pysnmp-users] Python 3 apparent compatibility problem
Brought to you by:
elie
From: Clive T. <cl...@sw...> - 2016-09-16 14:44:47
|
Hello I'm trying to get PySNMP 4.3.2 working with Python 3.4, on a Windows PC using the Pycharm IDE. I started by copying some example code from the PySNMP page on sourceforge. Its first line was from pysnmp.hlapi import * That import caused a load of errors when I attempted to run it. Here's an example: File "C:\Users\clive\AppData\Roaming\Python\Python34\site-packages\pysnmp\proto\rfc1902.py", line 25 constraints.ValueRangeConstraint(-2147483648L, 2147483647L), As the 'L' suffix has been removed in Python 3, it looks like there's a compatibility problem. Yet people say that PySNMP works with Python up to 3.5. I'm very puzzled, and will welcome any help. Thanks Clive |