python-dev installation error: ImportError: No module named apt_pkg
I met this problem when doing sudo apt-get update. My env is debian8, with python2.7 + 3.4(default) + 3.5. The following code will only re-create a apt_pkg….so file for python 3.5 The following code solved my problem, Replace {your-version-number} appropriately. CAUTION, the following will create a symlink from apt_pkg37m to apt_pkg36m. make sure you are linking to the correct, or at … Read more