It’s quite easy to set up virtual environment with isolated packages for Python in PowerShell.

Creating virtual environment is the same like in any other shell. Let’s call this environment pyenv:

```pip install virtualenv
virtualenv pyenv```

The last step is to activate this environment in PowerShell (watch dots and spaces):

`. .\pyenv\Scripts\activate.ps1`

You should see name of your virtual environment in command line. Virtual environment is active.