Skip to content
Discussion options

You must be logged in to vote

the module that it complains is missing (netmiko.ssh_exception) should be there, since the entire netmiko module is part of the environment per pip...

There's a more direct way to test this:

root@netbox3:~# source /opt/netbox/venv/bin/activate
(venv) root@netbox3:~# python
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import netmiko.ssh_exception
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'netmiko.ssh_exception'
>>> import netmiko
>>> netmiko.ssh_exception
Traceback (most recent call last):
  File "<stdin>", line 1, in <modul…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@ZPrimed
Comment options

@candlerb
Comment options

@candlerb
Comment options

@candlerb
Comment options

@candlerb
Comment options

Answer selected by ZPrimed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants