Activating VirtualEnv on Windows

40 views
Skip to first unread message

Lorenz Schümann

unread,
Apr 14, 2017, 2:04:42 PM4/14/17
to Django users
Hey, newbie here.
I've followed the instructions on https://docs.djangoproject.com/en/1.11/intro/contributing/ regarding Virtualenv. And at the point where it says for Windows, to activate the Virtualenv, type $ source ~/virtualenvs/djangodev/Scripts/activate, I found out through StackExchange that indeed it's just the activate.bat you need to run, as I don't have a source command in my Windows distro. Now isn't that the most straight forward way anyway and should replace the method, which is written down in the tutorial.

Camilo Torres

unread,
Apr 15, 2017, 8:54:49 PM4/15/17
to Django users
Hi.
Try to run the .bat. May be it is a documentation error?

Antonis Christofides

unread,
Apr 17, 2017, 3:32:17 AM4/17/17
to django...@googlegroups.com

Apparently the documentation isn't very clear. Either the "source" is an error, or the documentation assumes you are executing the command inside a Git Bash window.

Antonis Christofides
http://djangodeployment.com
On 2017-04-14 15:03, Lorenz Schümann wrote:
Hey, newbie here.
I've followed the instructions on https://docs.djangoproject.com/en/1.11/intro/contributing/ regarding Virtualenv. And at the point where it says for Windows, to activate the Virtualenv, type $ source ~/virtualenvs/djangodev/Scripts/activate, I found out through StackExchange that indeed it's just the activate.bat you need to run, as I don't have a source command in my Windows distro. Now isn't that the most straight forward way anyway and should replace the method, which is written down in the tutorial.
--
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...@googlegroups.com.
To post to this group, send email to django...@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/99317c1e-01ac-49bf-9064-96acd4e3f690%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages