Python Path

import sys
sys.path

Every time you are importing a package “netmiko” this is where it is going to look for it.

to remove the default path for python :
env | grep PYTH
unset PYTHONPATH
env | grep PYTH
cat ~/.bashrc | grep PYTH
EXPORT PYTHONPATH=$PYTHONPATH:”/path/”

Leave a Comment