etingof / pysnmp

Python SNMP library
http://snmplabs.com/pysnmp/
BSD 2-Clause "Simplified" License
576 stars 196 forks source link

Strange error when running the code given #452

Closed Prism-hua closed 10 months ago

Prism-hua commented 10 months ago

Here is the error when I running the code given in the first example:

TypeError: () takes 3 positional arguments but 4 were given caused by <class 'TypeError'>: () takes 3 positional arguments but 4 were given

PLease help.

lextm commented 10 months ago

Duplicate to recent issues like #438.

Prism-hua commented 10 months ago

@lextm Which version of pyasn1 can be downloaded to solve this problem? Any of 0.4.x?

Prism-hua commented 10 months ago

I tried the 0.4.1 release of pysan1, and solved my problem. thanks.

lextm commented 10 months ago

You can close this issue if that solution works for you.