File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,13 +212,21 @@ Using :ref:`virtualenv`:
212212
213213For more information, see the `venv `_ docs or the `virtualenv <http://virtualenv.pypa.io >`_ docs.
214214
215- In both of the above cases, Windows users should _not_ use the
216- `source ` command, but should rather run the `activate ` script directly
217- from the command shell. The use of `source ` under Unix shells ensures
215+ The use of `source ` under Unix shells ensures
218216that the virtual environment's variables are set within the current
219217shell, and not in a subprocess (which then disappears, having no
220218useful effect).
221219
220+ In both of the above cases, Windows users should _not_ use the
221+ `source ` command, but should rather run the `activate ` script directly
222+ from the command shell like so:
223+
224+ ::
225+
226+ <DIR>\Scripts\activate
227+
228+
229+
222230Managing multiple virtual environments directly can become tedious, so the
223231:ref: `dependency management tutorial <managing-dependencies >` introduces a
224232higher level tool, :ref: `Pipenv `, that automatically manages a separate
You can’t perform that action at this time.
0 commit comments