<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div>One (smaller) suggestion on the PATH situation on Windows:<br><br></div>I noticed that Visual C++ Build Tools installs a number of "Command prompts"<br></div>under its Start menu item, each of which starts a cmd.exe with appropriate PATH<br></div>set to the appropriate compiler (32/64 bits or ARM cross-compiler), and<br></div>assorted environment variables set to the appropriate include/library directories.<br><br></div>Could we do something similar for Python?<br><br></div>I.e., Install under the "Python 3.6" start menu an additional<br></div>"Python command prompt", which will <br></div>start cmd.exe with an appropriate PATH so that python and pip<br></div>run without further prefix.<br><br></div>That way, the installer still doesn't need to mess with global PATH and you can <br></div>easily have multiple versions of Python, each with their own<br></div>"Python command prompt" submenu.<br><br></div>At least for Windows users this would simplify the situation a bit.<br><br></div>Stephan<br><div><div><div><div><div><div><div><div><div><br><div><div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-06 23:53 GMT+01:00 Ivan Pozdeev via Python-ideas <span dir="ltr"><<a href="mailto:python-ideas@python.org" target="_blank">python-ideas@python.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><span class="">
On 07.11.2017 1:48, Chris Barker wrote:<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Nov 6, 2017 at 9:52 AM,
Michel Desmoulin <span dir="ltr"><<a href="mailto:desmoulinmichel@gmail.com" target="_blank">desmoulinmichel@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I know
and you still:<br>
<br>
- have to use py -m on windows, python3 linux, python in
virtualenv...<br>
</blockquote>
<div><br>
</div>
<div>can't you use python3 -m pip install .....</div>
<div><br>
</div>
<div>everywhere?</div>
</div>
</div>
</div>
</blockquote></span>
You can't. Windows versions don't create versioned executables. Got
bitten with this myself.<br>
<br>
<br>
...Maybe they should?<br>
(This is python-ideas, after all ;-) )<span class="HOEnZb"><font color="#888888"><br>
<br>
<pre class="m_-4389714166190426890moz-signature" cols="72">--
Regards,
Ivan</pre>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/<wbr>codeofconduct/</a><br>
<br></blockquote></div><br></div>