Chapter 2

Installing and Upgrading pyATS

pyATS and the pyATS library (Genie), collectively referred to as pyATS, are both Python libraries that can be installed with the common Python package manager, pip. Currently, pyATS supports Python versions 3.7–3.10 on the following platforms: Linux (CentOS, RHEL, Ubuntu, Alpine) and macOS 10.13+. Windows is not officially supported. However, Windows provides Windows Subsystem for Linux (WSL), which allows you to run Linux on Windows. Using the WSL environment on Windows, you can install pyATS.

Installing pyATS is a two-part process. First, you’ll need to install the pyATS core framework, followed by the pyATS library (Genie), which contains all the tools needed for automated network testing such as parsers, ...

Get Cisco pyATS Network Test and Automation Solution: Data-driven and reusable testing for modern networks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.