Ubuntu 16.04 安裝 Emacs

weixin_33860553發表於2019-01-20
sudo add-apt-repository ppa:ubuntu-elisp/ppa 
sudo apt update 
sudo apt install emacs-snapshot emacs-snapshot-el

trouble shooting:

ImportError: No module named apt_pkg

解決方法:

cd /usr/lib/python3/dist-packages
sudo cp apt_pkg.cpython-34m-i386-linux-gnu.so apt_pkg.so

參考

python-dev installation error: ImportError: No module named apt_pkg

相關文章