Page 1 of 1
[solved] Python: only old versions in MXPI?
Posted: Wed Aug 05, 2020 3:10 am
by Duliwi
I am a bit confused.
It is said on this homepage ...
https://vorta.borgbase.com/download/linux/
[To install our program,] your local Python version must be >= 3.6.
With
... I found out, that I have version 2.7.16
So I went to MXPI into test tab.
My expectation was, that there I will find version >=3.6
But I found this:
python version.png
Does this mean, MXPI is not up-to-date? Or do I miss anything?
Thank you.
Re: Python: only old versions in MXPI?
Posted: Wed Aug 05, 2020 4:10 am
by baldyeti
With debian 10 buster (on which MX19 is based), you get _both_ python 2.7 and 3.7
The latter can be invoked as "python3"
Code: Select all
(Debian_GNU/Linux_10_(buster)) Wed Aug 05 10:07:52 /
chroot> python --version
Python 2.7.16
(Debian_GNU/Linux_10_(buster)) Wed Aug 05 10:08:52 /
chroot> python3 --version
Python 3.7.3
Re: Python: only old versions in MXPI?
Posted: Wed Aug 05, 2020 5:06 am
by Duliwi
Thank you. Do you mean this:
Terminal:
Does this mean, that I was missing, that I always have python version >=3.6 and that I have nothing more to do than just install the program, that needs python version >=3.6 ? Right?
Re: Python: only old versions in MXPI?
Posted: Wed Aug 05, 2020 5:13 am
by baldyeti
Duliwi wrote: Wed Aug 05, 2020 5:06 am
Does this mean, that I was missing, that I always have python version >=3.6 and that I have nothing more to do than just install the program, that needs python version >=3.6 ? Right?
I guess so, indeed. If your program/library is available from a repo, install the version whose name starts with python3, many are available for both python versions. The coexistence of these 2 versions has been going on for too long and keeps causing confusion. Hopefully debian 11 "bullseye" swill ship with only python3 by default.
Re: Python: only old versions in MXPI?
Posted: Wed Aug 05, 2020 5:48 am
by sunrat
baldyeti wrote: Wed Aug 05, 2020 5:13 amThe coexistence of these 2 versions has been going on for too long and keeps causing confusion. Hopefully debian 11 "bullseye" swill ship with only python3 by default.
It will. Sid is currently in transition of removing Python2.
Re: Python: only old versions in MXPI?
Posted: Tue Aug 11, 2020 3:27 am
by maesch3ster
baldyeti wrote: Wed Aug 05, 2020 5:13 am
Duliwi wrote: Wed Aug 05, 2020 5:06 am
Does this mean, that I was missing, that I always have python version >=3.6 and that I have nothing more to do than just install the program, that needs python version >=3.6 ? Right?
I guess so, indeed. If your program/library is available from a repo, install the version whose name starts with python3, many are available for both python versions. The coexistence of these 2 versions has been going on for too long and keeps causing confusion. Hopefully debian 11 "bullseye" swill ship with only python3 by default.
Hoping the same thing on
this, python3 hopefully will be a default so no confusion around, tired also of always upgrading the py2 to py3 lol.