title: Cannot uninstall python 3.10
body: <p>I tried to upgrade to python3.10 following</p>
  <p><a href="https://cloudbytes.dev/snippets/upgrade-python-to-latest-version-on-ubuntu-linux" rel="nofollow noreferrer">https://cloudbytes.dev/snippets/upgrade-python-to-latest-version-on-ubuntu-linux</a></p>
  <p>After I did this visual studio code stopped working.</p>
  <p>I tried to remove 3.10 by</p>
  <pre><code>    sudo apt remove python3.10
  </code></pre>
  <p>however this did not remove /usr/bin/python3.10</p>
  <p>I fixed the problem with visual studio code by changing the default python interpreter  (which somehow got changed to /usr/bin/python3.10</p>
  <p>if I try to run my code from inside studo code (with /usr/bin/python3.10 as the interpreter)  I get a lot of error messages and my machine hangs up so I have to do a cold reboot.  If I run the code outside studio code
  /usr/bin/python3.8 works fine but /usr/bin/python3.19 fails when trying to import the module english_words  (says that no such module exits)</p>
  <p>Is there any way to upgrade to 3.10 which will not break studio code?</p>