How to make Ubuntu 18.04 LTS use python 3.7 as default?
Colin Watson
cjwatson at ubuntu.com
Sat Aug 1 19:22:04 UTC 2020
On Thu, Jul 30, 2020 at 02:57:45PM +0200, Bo Berglund wrote:
> On Thu, 30 Jul 2020 12:21:38 +0100, Ian Bruntlett
> <ian.bruntlett at gmail.com> wrote:
> >Are they *your* tools in that you wrote them?
>
> No, they are youtube-dl, streamlink and several others that I did not
> even know were python programs until I saw the messages.
Switching from Python 2 to 3 can't usually be done without porting the
programs in question, so this is exactly the situation in which you
should *not* be trying to change the default version of Python under the
feet of those programs. I haven't seen the exact text of the warnings
you're getting, but it sounds like they are really directed at the
maintainers of those programs rather than at you.
> I have never ever programmed python, only VB, C, Pascal and a few
> oters.
Right, this makes it even less likely that the right way to do things is
for you to change the default version of Python, so take a step back and
find some other approach. Perhaps the right thing to do is ignore the
warnings; perhaps you should file bugs against the programs in question;
perhaps you should look for newer versions of those programs.
--
Colin Watson (he/him) [cjwatson at ubuntu.com]
More information about the ubuntu-users
mailing list