I have a problem with my Ubuntu 15.04, after installing Python 3.4.3 I couldn't run the Software Center and this message appears:
File "/usr/bin/software-center", line 140
print time.time()
SyntaxError: invalid syntax
I have a problem with my Ubuntu 15.04, after installing Python 3.4.3 I couldn't run the Software Center and this message appears:
File "/usr/bin/software-center", line 140
print time.time()
SyntaxError: invalid syntax
This is not the case, because as of https://wiki.ubuntu.com/Python/3
/usr/bin/python and /usr/bin/python2 will point to Python 2.7 and /usr/bin/python3 will point to the latest supported Python 3 version.
$ grep -nH python /usr/bin/software-center
/usr/bin/software-center:1:#! /usr/bin/python
$ /usr/bin/python --version
Python 2.7.10
Plese check your output of /usr/bin/python --version