It recommended to use a virtual environment for testing. All software and libraries installed in the virtual environment will be used if they exist, then the software/libraries on the host OS will be used.
python3 -m venv TestingLab
source bin/activate
pip3 install -r requirements.txt
Example of requirement.txt file
nornir==2.5
python-gnupg==0.4.6
pyats==20.12
genie==20.12.2
ipdb==0.13.4
rich==9.8.1
ntc-templates==1.6.0
No comments:
Post a Comment