Cisco DevNet Associate Cert Prep 3:
Cisco Platforms and Development
with Eric Chou
Python Virtual Environment and PIP
Python virtual environment provides a lightweight virtual environment with their own site directories and
Python interpreter separated from the system Python environment. It is highly recommended that you use
Python virtual environment for your labs.
Python 3 venv module: https://docs.python.org/3/library/venv.html
Installing packages using pip and virtual environments:
https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
Note. Python 2 is end of support as of January 1st, 2020 (https://www.python.org/doc/sunset-python-2/). But
if you are running Python 2, you can use virtualenv: https://packaging.python.org/key_projects/#virtualenv
– Here is an example of
$ python3 -m venv <name of virtual env>
$ source <name of virtual env>/bin/activate
Cisco DevNet Associate Cert Prep 3: Cisco Platforms and Development with Eric Chou 1 of 1