Skip to content

Conversation

@byte-voyager
Copy link
Contributor

@byte-voyager byte-voyager commented Sep 10, 2025

默认shell就为Flase,传True会在执行Linux检查pip的时候Linux上卡住,windows可以安装。

@wu-clan
Copy link
Member

wu-clan commented Sep 10, 2025

谢谢,我们先暂时恢复此代码

shell=True 是由于 #802 在使用 pycharm 时遇到的一个异常而引入,忽略了其他版本中的测试,我们暂定此问题为 pycharm debugger 中的一个 issue

@wu-clan wu-clan changed the title Fix ensurepip_install Fix the subprocess ensurepip got stuck in Linux Sep 10, 2025
@wu-clan wu-clan merged commit c1087fa into fastapi-practices:master Sep 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants