Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10706
| From | Dimitri John Ledkov <xnox@ubuntu.com> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Safest way to set python3 as default for `python` |
| Date | 2018-07-18 14:10 +0200 |
| Message-ID | <wcTrk-5ja-9@gated-at.bofh.it> (permalink) |
| References | <wc6qC-10o-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 16 July 2018 at 08:44, Bastian Venthur <venthur@debian.org> wrote: > Hi, > > sorry if this question has been asked before. What is the currently > recommended way to make `python` point to `python3`? I'd like to have it set > on a system default level if possible. > To answer your question. Create a brand new virtualenv, enter said virtualenv, make python point at whatever you want. Use said virtualenv for one thing / one service / strongly coupled things only. Create as many virtualenvs as needed. Above is safe to do, and should not conflict with system python / system packages / OS. -- Regards, Dimitri.
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Safest way to set python3 as default for `python` Bastian Venthur <venthur@debian.org> - 2018-07-16 09:50 +0200
Re: Safest way to set python3 as default for `python` Matthias Klose <doko@debian.org> - 2018-07-16 13:30 +0200
Re: Safest way to set python3 as default for `python` Bastian Venthur <venthur@debian.org> - 2018-07-16 17:20 +0200
Re: Safest way to set python3 as default for `python` Ben Finney <bignose@debian.org> - 2018-07-18 03:40 +0200
Re: Safest way to set python3 as default for `python` Stuart Prescott <stuart@debian.org> - 2018-07-18 11:10 +0200
Re: Safest way to set python3 as default for `python` Brian May <bam@debian.org> - 2018-07-19 09:30 +0200
Re: Safest way to set python3 as default for `python` Dimitri John Ledkov <xnox@ubuntu.com> - 2018-07-18 14:10 +0200
csiph-web