how to install and import packages in python virtual environment code example Example: how to use virtual environment python python3 -m venv env