I'm trying to learn Django. To start, I needed to install Python, Django, and Virtualenv. These are all installed with no errors. But now that I want to start a project and run virtualenv, I can't activate it in the powershell.
I used this command to make a virtualenv:
python -m virtualenv venv
Now the tutorial says that I have to activate virtualenv like this:
. \scripts\activate
but it gives me this error:
. : The term '\scripts\activate' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:3
+ . \scripts\activate
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (\scripts\activate:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
What should I do?
I have tried scripts\activate.ps1
but it still is not working.