Skip to content

Instantly share code, notes, and snippets.

@cobaohieu
Last active February 7, 2025 16:06
Show Gist options
  • Save cobaohieu/9654c9b05edd6bcfce1965e9f5cec195 to your computer and use it in GitHub Desktop.
Save cobaohieu/9654c9b05edd6bcfce1965e9f5cec195 to your computer and use it in GitHub Desktop.
fix Your python3 install is corrupted. Please fix the '/usr/bin/python3' symlink.

sudo apt install --reinstall python3

sudo apt install --reinstall python

sudo update-alternatives --remove-all python

sudo update-alternatives --remove-all python3

sudo ln -sf /usr/bin/python2.7 /usr/bin/python

sudo ln -sf /usr/bin/python3.6 /usr/bin/python3

@Zer0x00
Copy link

Zer0x00 commented Feb 7, 2025

It's 3.10 for 22.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment