Skip to content

Commit 20f0c9c

Browse files
author
Mr-Io
committed
use windows environment variable when indicating default path for pip.ini
Replace %HOME% with %USERPROFILE% when referencing commands line in windows. This is already done in other part of the guide such as in virtualenvwrapper.
1 parent 6265403 commit 20f0c9c

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)