最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Python Module - netmiko Attribute error - has no attribute 'AgnosticHandler' - Stack Overflow

programmeradmin3浏览0评论

I'm a new python coder and I'm trying to see why I'm seeing this error - When I run my python code, the error is:

from netmiko import * AttributeError: module 'netmiko' has no attribute 'AgnosticHandler'

I have installed netmiko version 4.5.0 and I have python version 3.13. I have done research and I can only find Attribute Errors relating to ConnectHandler and users having named the program file 'netmiko.py'.

Anyone know if AgnosticHandler is part of Netmiko? or any guidance?

I'm a new python coder and I'm trying to see why I'm seeing this error - When I run my python code, the error is:

from netmiko import * AttributeError: module 'netmiko' has no attribute 'AgnosticHandler'

I have installed netmiko version 4.5.0 and I have python version 3.13. I have done research and I can only find Attribute Errors relating to ConnectHandler and users having named the program file 'netmiko.py'.

Anyone know if AgnosticHandler is part of Netmiko? or any guidance?

Share Improve this question asked Mar 27 at 18:40 JuniorPenguinJuniorPenguin 1451 silver badge11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I haven't got to the root of the problem nor know how to diagnose it.

However I did fix the problem by uninstalling netmiko -

pip uninstall netmiko

and uninstalled python version 3.13.

I have re-installed python 3.12 and installed:

pip install netmiko==4.2.0

and it fixed the problem.

发布评论

评论列表(0)

  1. 暂无评论