python envirnment code example Example 1: python virtual env $ pip install virtualenv Example 2: how to activate the pytho virtual environment mypthon\Scripts\activate