Just learn Django, build a virtual environment on PowerShell, ready to activate, the problem is:
Activated when the error, a bit of a crazy, before the command line no problem ah, I went to the command line to try, sure enough to:
Feel the critical hit, hurry to the Internet to help God, a search, found that is PowerShell setup problem, script default execution policy Restricted, prohibit running any script and configuration file,
Need to change settings, how to modify, the administrator has opened PowerShell: Use Get-executionpolicy to view the script execution policy, using Set-executionpolicy Restricted/
remotesigned/Unrestricted/AllSigned, choose one of four strategies, change proposal to remotesigned
Then try to run the script again, success!!!
First blog, please take care of everyone!! , the content originates from the net, oneself summarizes, mutual encouragement!!!
PowerShell: Problem, disable script resolution on this system