This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mdk
Recipients mdk
Date 2021-10-29.10:00:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635501606.61.0.0312062282004.issue45667@roundup.psfhosted.org>
In-reply-to
Content
Currently if ensurepip fails for a reason or another, for example if a wrong module gets imported:

$ touch http.py
$ python3.10 -m venv .venv
Error: Command '['/tmp/.venv/bin/python3.10', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

the error is not helpfull. Maybe venv should just dump the stderr from ensurepip so we can learn a bit more about it (it's « understandable » in ensurepip traceback that it's in relation with http.py, in the given example.)
History
Date User Action Args
2021-10-29 10:00:06mdksetrecipients: + mdk
2021-10-29 10:00:06mdksetmessageid: <1635501606.61.0.0312062282004.issue45667@roundup.psfhosted.org>
2021-10-29 10:00:06mdklinkissue45667 messages
2021-10-29 10:00:06mdkcreate