Most Windows setup are desktop configured with a single user. I would not be shocked if pip installs modules only for the current user by default. Maybe it could be an option in Python installer (pip system wide or user).<div><br></div><div>Victor<br><br>Le mercredi 24 septembre 2014, Paul Moore <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>> a écrit :<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 24 September 2014 14:16, Mike Miller <<a href="javascript:;" onclick="_e(event, 'cvml', 'python-dev@mgmiller.net')">python-dev@mgmiller.net</a>> wrote:<br>
> It has been a supported option for just shy of 15 years on 2.X... most if<br>
> not all the bugs (setuptools) were fixed a decade ago, and right now<br>
> thousands, if not millions of people are running it under Program Files<br>
> right now. I can vouch for several thousand because a company I work for<br>
> distributes Python and pip there for its customers all around the world w/o<br>
> issue.<br>
<br>
One thing that I presume would be an issue. Isn't Program Files<br>
protected in newer versions of Windows? I haven't tested this myself,<br>
so I may be wrong about this. So take the following with a pinch of<br>
salt.<br>
<br>
Assuming so, that means that if Python is installed there, the<br>
standard "pip install XXX" would not work unless run in an elevated<br>
shell. We are currently trying to focus on a unified message for how<br>
users should install distributions from PyPI, by using pip install.<br>
I'm not sure it's a good idea to complicate that message yet by adding<br>
provisos about managing the system Python (which is the only one most<br>
Windows users will use).<br>
<br>
I know this is only the same situation as Unix users have, but Windows<br>
users don't have a distro offering packaged versions of PyPI modules.<br>
I also know we should be moving towards promoting --user, but I don't<br>
think we're quite ready for that yet. And my speculation doesn't<br>
compete with your real-life experience, certainly. But I would suggest<br>
carefully checking before making the switch.<br>
<br>
Paul<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Python-Dev@python.org')">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com" target="_blank">https://mail.python.org/mailman/options/python-dev/victor.stinner%40gmail.com</a><br>
</blockquote></div>