Skip to content

Commit 25b92ac

Browse files
authored
Merge pull request realpython#1000 from Mr-Io/master
use windows environment variable when indicating default path for pip…
2 parents 2433cc5 + 20f0c9c commit 25b92ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/dev/pip-virtualenv.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ can be found at:
5151

5252
.. code-block:: console
5353
54-
%HOME%\pip\pip.ini
54+
%USERPROFILE%\pip\pip.ini
5555
5656
If you don't have a :file:`pip.conf` or :file:`pip.ini` file at these locations,
5757
you can create a new file with the correct name for your operating system.
@@ -122,7 +122,7 @@ add the following line to your :file:`pip.ini` file under ``[global]`` settings:
122122

123123
.. code-block:: console
124124
125-
download-cache = %HOME%\pip\cache
125+
download-cache = %USERPROFILE%\pip\cache
126126
127127
Similarly, on Unix systems you should simply add the following line to your
128128
:file:`pip.conf` file under ``[global]`` settings:

0 commit comments

Comments
 (0)