Score:1

ModuleNotFoundError: No module named 'softwareproperties.SoftwareProperties'

il flag

I have removed and installed python3 on Ubuntu 20.04, and now I'm getting this error:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 12, in <module>
    from softwareproperties.SoftwareProperties import SoftwareProperties, shortcut_handler
ModuleNotFoundError: No module named 'softwareproperties.SoftwareProperties'
  • I have tried to solve it by installing software-properties-common, but that didn't work! sudo apt-get install --reinstall software-properties-common

  • The version of Python3 that I have now is: Python 3.8.10

Can you please tell me how can I solve it please? thanks in advance.

Pilot6 avatar
cn flag
Never change default python.
Score:2
il flag

The solution was to install the python3-software-properties package as follows:

sudo apt install --reinstall python3-software-properties

ahmedbhs avatar
ru flag
No file name for python3-software-properties:amd64
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.