On Tue, Mar 24, 2020 at 11:30:38AM +1100, Steven D'Aprano <st...@pearwood.info> wrote: > On Tue, Mar 24, 2020 at 12:45:42AM +0100, Oleg Broytman wrote: > > > > Won't that create a virtual environment using Python3 on Windows and > > > using Python2 most other places, which is exactly the problem Fred is > > > having? > > > > Depends on how literally one reads ``python -m venv``. > > I read it as what you wrote, should I have read it as something else?
As a template. > Fred is explicitly asking about the problem with having to sometimes use > python and sometimes python3, and your answer is to tell him to > sometimes use python and sometimes use python3? Once for every venv created, not once for every script being run. > > Python virtualenv is a development tool but not a distribution or > > a deployment tool. > > Fred is discussing the problems he is having with distribution and > deployment, not development. IMO the issue is in not following the best practices. Distribute wheels or freezed binaries, not just drop scripts unto users. > His issue is that "python" means different > things on different machines and different users. This part is not solvable. Python **means** different things on different machines and different users. > -- > Steven Oleg. -- Oleg Broytman https://phdru.name/ p...@phdru.name Programmers don't die, they just GOSUB without RETURN. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/VMZBOM6SOWX3LPSKQAXMP5FUE45QSWYH/ Code of Conduct: http://python.org/psf/codeofconduct/