qli@lhz:~$ python --version Python 3.7.3 qli@lhz:~$ p4v Gtk-Message: 08:12:51.061: Failed to load module "canberra-gtk-module" (p4v.py:27951): libglade-WARNING **: 08:12:51.176: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or directory (p4v.py:27951): libglade-WARNING **: 08:12:51.519: unknown attribute `swapped'for <signal>. Exception TypeError: "'NoneType' object is not callable"in <object repr() failed> ignored
Press <enter> to keep the current choice[*], or type selection number: 2 update-alternatives: using /usr/bin/python3.7 to provide /usr/bin/python (python) in manual mode
qli@lhz:~$ python --version Python 3.7.3 qli@lhz:~$ p4v File "/usr/share/p4vasp/p4v.py", line 9 can get source code from http://www.pygtk.org """ ^ SyntaxError: invalid syntax qli@lhz:~$ pversion There are 2 choices for the alternative python (providing /usr/bin/python). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/python2.7 2 auto mode 1 /usr/bin/python2.7 2 manual mode * 2 /usr/bin/python3.7 1 manual mode Press <enter> to keep the current choice[*], or type selection number: 1 update-alternatives: using /usr/bin/python2.7 to provide /usr/bin/python (python) in manual mode