]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-72327: Suggest using system terminal for pip install in PyREPL (#136328)
authorRichard Si <sichard26@gmail.com>
Tue, 15 Jul 2025 14:25:07 +0000 (10:25 -0400)
committerGitHub <noreply@github.com>
Tue, 15 Jul 2025 14:25:07 +0000 (14:25 +0000)
commitbe02e68158aee4d70f15baa1d8329df2c35a57f2
tree92666374a8bd86d3a1575e74e187316d437fb080
parenta8f42e6e884e7d63d5d63a817bc490f3bbbdba17
gh-72327: Suggest using system terminal for pip install in PyREPL (#136328)

Users new to Python packaging often try to use pip from the REPL only to
be met with a confusing SyntaxError. If this happens, guide the user to
use a system terminal instead to invoke pip.

Closes #72327

---------

Co-authored-by: Tom Viner <tom@viner.tv>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Lib/_pyrepl/console.py
Lib/test/test_pyrepl/test_pyrepl.py
Misc/ACKS
Misc/NEWS.d/next/Library/2025-07-07-16-46-55.gh-issue-72327.wLvRuj.rst [new file with mode: 0644]