0

While I was trying to fix the ImportError: No module named 'lsb_release', I accidentally performed the unlink command on /usr/share/pyshared/lsb_release.py

sudo unlink /usr/share/pyshared/lsb_release.py

Now I cannot find lsb_release.py and the links to the pythonx/dist-packages/lsb_release.py are broken.

How can I rapair this and solve the ImportError: No module named 'lsb_release' error?

  • Find out which package contains that file, reinstall that package. How to do that depends on your distro and is out of scope of the question. – Vilinkameni Aug 18 '22 at 10:47

0 Answers0