Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 20f0c9c

Browse filesBrowse 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
Copy full SHA for 20f0c9c

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎docs/dev/pip-virtualenv.rst

Copy file name to clipboardExpand all lines: docs/dev/pip-virtualenv.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.