We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
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.
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