still strange to me. I had the lines in the config files like that:
user@debian-9:~$ cat /etc/apt/apt.conf
APT::Default-Release "stable";
user@debian-9:~$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian stretch main contrib non-free
#deb-src http://http.debian.net/debian main/stretch main contrib
non-free
deb http://security.debian.org stretch/updates main contrib
non-free
#deb-src http://security.debian.org stretch/updates main contrib
non-free
deb http://deb.debian.org/debian testing main
Then a
user@debian-9:~$ sudo apt-get -t testing install python
did 19 Packages of updating and installed 9 packages newly but it seems that happened only for the 2.7 version because
user@debian-9:~$ which python
/usr/bin/python
user@debian-9:~$ ls -la /usr/bin/python*
lrwxrwxrwx 1 root root 7 Jun 7 2018 /usr/bin/python ->
python2
lrwxrwxrwx 1 root root 9 Jun 7 2018 /usr/bin/python2 ->
python2.7
-rwxr-xr-x 1 root root 3685056 Nov 28 17:27 /usr/bin/python2.7
lrwxrwxrwx 1 root root 9 Jan 20 2017 /usr/bin/python3 ->
python3.5
-rwxr-xr-x 2 root root 4751184 Sep 27 18:03 /usr/bin/python3.5
lrwxrwxrwx 1 root root 33 Sep 27 18:03
/usr/bin/python3.5-config -> x86_64-linux-gnu-python3.5-config
-rwxr-xr-x 2 root root 4751184 Sep 27 18:03 /usr/bin/python3.5m
lrwxrwxrwx 1 root root 34 Sep 27 18:03
/usr/bin/python3.5m-config ->
x86_64-linux-gnu-python3.5m-config
lrwxrwxrwx 1 root root 16 Jan 20 2017
/usr/bin/python3-config -> python3.5-config
lrwxrwxrwx 1 root root 10 Jan 20 2017 /usr/bin/python3m
-> python3.5m
lrwxrwxrwx 1 root root 17 Jan 20 2017
/usr/bin/python3m-config -> python3.5m-config
user@debian-9:~$ python -V
Python 2.7.15+
user@debian-9:~$ python 3.7 -V
python: can't open file '3.7': [Errno 2] No such file or directory
I still don't know what I've done wrong. Maybe have to sleep
over it...and then come up here and try again.