@Michael, that didn't work for me. The error showed up after I installed python3.5 from source.
$ wget http://python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
$ tar xpvf Python-3.5.2.tar.xz
$ cd Python-3.5.2
$ ./configure --prefix=/usr
$ make
$ make install
If I link python3 to python3.4, then it starts working again
$ sudo rm /usr/bin/python3
$ sudo ln -s /usr/bin/python3.4 /usr/bin/python3
@Michael, that didn't work for me. The error showed up after I installed python3.5 from source. python. org/ftp/ python/ 3.5.2/Python- 3.5.2.tar. xz
$ wget http://
$ tar xpvf Python-3.5.2.tar.xz
$ cd Python-3.5.2
$ ./configure --prefix=/usr
$ make
$ make install
If I link python3 to python3.4, then it starts working again
$ sudo rm /usr/bin/python3
$ sudo ln -s /usr/bin/python3.4 /usr/bin/python3