Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Setting Up a Local Python Environment Installing Python and Python Libraries Locally Using virtualenv

Installing virtualenv on Windows 7

Typed in exactly the command in the teacher's notes: pip install virtualenv. When I pressed enter, nothing at all happened.

1 Answer

Chris Freeman
MOD
Chris Freeman
Treehouse Moderator 68,457 Points

If you are using PowerShell, your ExecutionPolicy may be restricted. Check using Get-ExecutionPolicy. To change, run PowerShell as administrator.

PS C:\> Get-ExecutionPolicy
Restricted

PS C:\> Set-ExecutionPolicy RemoteSigned

Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the
about_Execution_Policies help topic at http://go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): Y

PS C:\>PS C:\> Get-ExecutionPolicy
RemoteSigned
PS C:\>

Edit: More information is available. See Using Set-ExecutionPolicy cmdlet