使用终端打开语言支持, sudo /usr/bin/gnome-language-selector
报出错误 ModuleNotFoundError: No module named ‘apt_pkg’
原因 : 升级到python3.6会导致python库的引用产生混乱
解决:
先选择删除python-apt
apt-get remove –purge python-apt
安装python-apt
apt-get install -f -y python-apt
拷贝python3.5的apt-pkg*.so 名重名为python3.6的apt-pkg*.so
cd /usr/lib/python3/dist-packages/
cp apt_pkg.cpython-35m-x86_64-linux-gnu.so apt_pkg.cpython-36m-x86_64-linux-gnu.so
原文:https://blog.csdn.net/u014221090/article/details/82657401