diff --git a/napalm_ce/ce.py b/napalm_ce/ce.py index 521139a..4160202 100644 --- a/napalm_ce/ce.py +++ b/napalm_ce/ce.py @@ -32,7 +32,7 @@ # import third party lib from netmiko import ConnectHandler try: - from netmiko.ssh_exception import NetMikoTimeoutException + from netmiko.exceptions import NetMikoTimeoutException except ModuleNotFoundError: from netmiko import NetMikoTimeoutException diff --git a/requirements.txt b/requirements.txt index a727881..c688350 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ napalm>=3.0.0 setuptools>=38.4.0 -netmiko>=3.1.0 +netmiko>=4.1.1 paramiko>=2.6.0 requests>=2.7.0 future -jinja2 \ No newline at end of file +jinja2