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?

----------
components: Installation
messages: 210705
nosy: dstufft, larry, loewis, ncoghlan, pmoore
priority: deferred blocker
severity: normal
stage: needs patch
status: open
title: Pass --default-install to ensurepip in the Windows installers?
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20568>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to