[New-bugs-announce] [issue20568] Pass --default-install to ensurepip in the Windows installers?
report at bugs.python.org
Sun Feb 9 01:08:05 CET 2014
New submission from Nick Coghlan:
Installing 3.4b3 on Windows to test issue 20053, I was surprised to find that after installation, "pip install <package>" didn't work.
I had forgotten that due to the flat executable namespace on POSIX systems, we only install pip3 and pip3.4 by default - you have to pass "--default-install" to ensurepip to get it to install the unqualified "pip".
For virtual environments, we handle that in the venv module - it passes "--default-pip" when invoking the ensurepip CLI.
Given that Windows uses "python" for both Python 2 & 3 (in contrast to the POSIX python/python3 and python2/python3 conventions), perhaps we should be passing --default-install to ensurepip in the Windows installers as well?
nosy: dstufft, larry, loewis, ncoghlan, pmoore
priority: deferred blocker
stage: needs patch
title: Pass --default-install to ensurepip in the Windows installers?
versions: Python 3.4
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce