Friday, January 18, 2019

Re: problem in activating virtual environment in Django with ". \Scripts\activate" command

I had similar problem before.

try 
"cd " until you reach the directory of "scripts" then type "activate".
same thing to deactivate.

 Hadi



On Friday, 18 January 2019 12:46:03 UTC, Django Geek Aditya wrote:
.\scripts\activate.bat is also not working
THE SHELL OUTPUT IS -> 
PS E:\todo> .\Scripts\activate.bat
.\Scripts\activate.bat : The term '.\Scripts\activate.bat' 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:1
+ .\Scripts\activate.bat
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\Scripts\activate.bat:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS E:\todo> 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f2941ea9-942e-426a-9c10-cddf83ce0341%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment