libglib2.0-dev configuration error during apt installation

After I installed anaconda3, the default python version of the system became 3.6, so the Setting up libglib2.0-dev error would appear when I installed it with apt or apt-get later.
So it will be fine to change the system default python version back to 2.7.
If the terminal is using bash, you can modify the export environment variables in the first few lines of the .bashrc file. If you are using zsh, you can modify the export environment variables in the first few lines in the .zshrc file.
Usually modified to /usr/share/python.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325645201&siteId=291194637