realpython / realpython/python-guide

Section on Editing the pip.ini File on Windows Needs to Be Updated

Open
#982 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Batchfile
Stars
29.8k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

In "Further Configuration of pip and Virtualenv" (/dev/pip-virtualenv) the Windows section doesn't seem to work (I'm using Windows 10).

One's home directory would be something like:
C:\Users\johndoe

But you won't find pip in this folder. Instead, you'll find pip at a path something like:
C:\python37\Lib\site-packages\pip

(BTW, I used the guide recommended method of installing python [choco])

In addition, I'd suggest breaking this section into two parts, one dealing with *nix systems and one with Windows systems. Right now they are kind of intertwined.

If what I have suggested above is amenable, I'm happy to make a pull request with the edits I'm suggesting.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the “Further Configuration of pip and Virtualenv” section at /dev/pip-virtualenv and review its Windows pip.ini instructions against the reported Windows 10 layout. Verify the correct platform-specific paths and separate the *nix and Windows guidance; done means both sections are clearly organized and the Windows instructions are accurate.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.