Ubuntu Software center in Ubuntu 13.04 crashes when opened

Solution 1:

Run this command in terminal. It will re-install the software-center and reset your settings.

sudo apt-get install --reinstall software-center

But for reconfigure a program you can use:

sudo dpkg-reconfigure software-center --force

Solution 2:

I also had software-center crash on launch after the Ubuntu 13.04 upgrade. It turned out to be in import error in the ubuntu-sso-login. I resolved it by reinstalling the oauthlib python package

sudo pip install --upgrade oauthlib

Solution 3:

I had same proble which I solved by deleting /home/user/.cache/software-center folder.