jtmoon79 / jtmoon79/PythonEmbed4Win

"no-warn-script-location" option is wrong

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

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
70
Forks
12
PR merge metrics
No merged PRs in 30d

Description

WARNING: The script pipdeptree.exe is installed in 'C:\Users\Lin\Desktop\tmp2\py311_renlai\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

When I install something using "pip", I got this warning. When I set "no-warn-script-location = false" in pip.ini, there is no such waring. So I wonder if it's something wrong with this option.

Contributor guide

No contributing guide indexed for this repository

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

The report concerns pip's PATH warning and the no-warn-script-location setting in pip.ini. Start by reproducing the installation with the option set to false, then trace how that setting is read and passed to pip. Done means determining whether the observed warning behavior is correct and correcting or documenting the option handling accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, python
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.