{"id":83,"date":"2020-11-17T10:28:40","date_gmt":"2020-11-17T04:28:40","guid":{"rendered":"http:\/\/www.dreamflier.net\/wordpress\/?p=83"},"modified":"2020-12-17T10:15:41","modified_gmt":"2020-12-17T04:15:41","slug":"creating-python-virtualenv-in-windows","status":"publish","type":"post","link":"http:\/\/www.jichangqing.net\/wordpress\/?p=83","title":{"rendered":"Creating Python virtualenv in Windows"},"content":{"rendered":"<p style=\"color: rgba(0, 0, 0, 0.84);\" align=\"center\"><strong>Creating Python virtualenv in Windows<\/strong><\/p>\n<p style=\"color: rgba(0, 0, 0, 0.84); text-align: left;\" align=\"center\">https:\/\/www.geeksforgeeks.org\/creating-python-virtual-environment-windows-linux\/?ref=rp<\/p>\n<p style=\"color: rgba(0, 0, 0, 0.84);\">If python is installed in your system, then pip comes in handy.<br \/>\nSo simple steps are:<br \/>\n1) Install virtualenv using<\/p>\n<pre style=\"color: rgba(0, 0, 0, 0.9);\"> &gt; pip install virtualenv<\/pre>\n<p>2)Now in which ever directory you are, this line below will create a virtualenv there<\/p>\n<pre style=\"color: rgba(0, 0, 0, 0.9);\"> &gt; virtualenv myenv<\/pre>\n<p>And here also you can name it anything.<\/p>\n<p>3) Now if you are same directory then type,<\/p>\n<pre style=\"color: rgba(0, 0, 0, 0.9);\"> &gt; myenv\\Scripts\\activate<\/pre>\n<p>You can explicitly specify your path too.<\/p>\n<p>Similarly like Linux you can deactivate it like<\/p>\n<pre style=\"color: rgba(0, 0, 0, 0.9);\">$ deactivate<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Creating Python virtualenv in Windows https:\/\/www.geeksforgeeks.org\/creating-python-virtual-environment-windows-linux\/?r &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,1],"tags":[],"class_list":["post-83","post","type-post","status-publish","format-standard","hentry","category-python","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/83","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=83"}],"version-history":[{"count":2,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/83\/revisions"}],"predecessor-version":[{"id":87,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/83\/revisions\/87"}],"wp:attachment":[{"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jichangqing.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}