Title explains it pretty well but unable to access the Software Center. Would not open through search bar as well as manually running the application file.

solus-sc gives this error:
Traceback (most recent call last):
File "/usr/bin/solus-sc", line 15, in <module>
from solus_sc.application import ScApplication
ImportError: No module named solus_sc.application

I haven't been on this computer for around 2 weeks so not sure what caused the software center to stop working when it was working fine when I was last on this laptop a few weeks ago.

    ZCCZe I would do a quick sudo eopkg install --reinstall solus-sc, followed by looking for broken packages sudo eopkg check, and a full update if you haven't already. On the off chance you pip installed something recently, that might be related if you goofed up the system python.

      DataDrake Thanks for the response, I ran the first command and got:
      Traceback (most recent call last):
      File "/usr/bin/eopkg", line 19, in <module>
      import pisi
      ImportError: No module named pisi

      If memory serves, I was using pip when last on the laptop working with python and PyCharm so perhaps that's where the issue is coming from? System still has python 2.7.18 so still lost on what exactly I did to break the SC.

        ZCCZe You seem to have inadvertantly removed required software for the Software Center. You'll need to use a live image to fix this or re-install.

        Live fix info can be found here: https://getsol.us/articles/troubleshooting/boot-rescue/en/

        Otherwise it's easier for most to backup their data and re-install.

        Lesson: Be vary careful with pip and python modules.

        A rule of thumb would be to always run pip install/remove either in a virtual environment or with the --user flag.

        5 years later

        DataDrake I am replying to this because I have the same issue; when I searched and found this thread, I tried both suggestions in our post, reinstalling solus-sc followed by checking for broken packages. The reinstall (appeared) to go fine. Still no luck. Checked for broken packages. None reported. I have never messed with Python directly. Yesterday, I just got this computer working. So I was using the Software Center, but it was working with no warnings of any problems. I think it did install some Python packages, but assumed that should be fine. If no one can suggest another solution, I may just have to reinstall.
        My biggest problem is, if I do that, then go about setting up my system again without understanding what went wrong, I fear I'll just be repeating the same mistake.

        Hey @WanderingMind, you found a very old thread! DataDrake is not around anymore in Solus, but there are others here who can help.

        The only way to mess up solus-sc with python packages, is to install python packages from outside the Solus repositories.

        You could try using one of the new replacements for solus-sc: either discover if you are running Plasma/KDE or gnome-software for Budgie/GNOME/Xfce/Mate. We are planning to drop solus-sc in favor of these replacements eventually, so why not try them early?