![]() ![]() So, to fix your problem, just erase all traces of Python 3.9. Paths earlier in the list have higher priority. One of the lines start with PATH= and that's the list of locations that are searched when looking for programs. You can confirm this by typing env | grep PATH. That is why when you type python3, you get 3.9.2. The executable python3 is placed in /usr/local/bin/, which is earlier in your PATH variable (i.e., the list of locations that are searched for when looking for programs). If you did that, then Python has been installed in /usr/local/. Since you followed the instructions for installing Python 3.9.2, presumably, you also did make install with sudo. I have extracted the file and followed the README with the commands configure, make and make install. When I run which python3.8 I obtain the path /usr/bin/python3.8, while the new python3 I have downloaded from the previous link to, go to download and downloaded the python 3.9.2, pushing the button. I just want to remove this python 3.9 package that I have installed from. I have also tried the selection suggested in the answer, but again it does not work. When I give python3.8 it gives me python 3.8 default version, but if I give python3 it open a shell in python 3.9.2. But how can I remove python 3.9? I have tried the classical commands like purge or remove but they do not work. Ok, I have reinstalled ubuntu-desktop and python 3.8 after many efforts and the PC is working fine. I have lost ubuntu-desktop because I have learnt that the OS uses python 3.8 as default for many applications. Yesterday I have done several messes with my laptop, because I have uninstalled python3 on Ubuntu 20.04 because I have installed manually python 3.9 from the external repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |