Reputation: 312
I made a mess out of my self. I wanted to add python3.6 in my system so I decided to uninstall the existing one in my Ubuntu 19.10 . But now everytime I want to install something I get error like this:
dpkg: error while cleaning up: installed python3-virtualenv package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:python3-virtualenv
Processing was halted because there were too many errors. E: Sub-process /usr/bin/dpkg returned an error code (1)
I can't open my terminal by clicking on icon and I can't even install any apps from ubuntu sofware.Any suggestion to follow
System Ubunutu 19.10
Upvotes: 1
Views: 10030
Reputation: 312
I have found the answer. Just wrote the line in the terminal
sudo apt install python3-minimal python3 --reinstall
Upvotes: 3