[New-bugs-announce] [issue39658] Include user scripts folder to PATH on Windows

Luca report at bugs.python.org
Sun Feb 16 17:12:28 EST 2020


New submission from Luca <lucatrv at hotmail.com>:

When installing Python on Windows, and selecting the option “Add Python to PATH”, the following folders are added to the "PATH" environment variable:
- C:\Users\[username]\AppData\Local\Programs\Python\Python38\Scripts\
- C:\Users\[username]\AppData\Local\Programs\Python\Python38\
However also the following folder should be added, _before_ the other two:
- C:\Users\[username]\AppData\Roaming\Python\Python38\Scripts\
This is needed to correctly expose scripts of packages installed with `pip install --user` (`pip` emits a warning when installing a script with `--user` flag if that folder is not in "PATH").

----------
components: Installation
messages: 362108
nosy: lucatrv
priority: normal
severity: normal
status: open
title: Include user scripts folder to PATH on Windows

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39658>
_______________________________________


More information about the New-bugs-announce mailing list