Score:0

Ubuntu 20.04, have broken python3, can it be fixed?

cn flag

Realise this is a common problem, all my fault. now have in /usr/bin

/usr/bin/python3 -> /python3.8       (in red)
/usr/bin/pyenve -> pyvenv-3.8        (in red)

no amount of fiddling with apt or synaptice et. al seems to fix it. Is there a way to reinstall default python 3.8 and get this working outwith a full reinstall? Thx. J

vanadium avatar
cn flag
pyemve is not by default installed. python3 is a link to the current python3.. version in the same dir (usr/bin)
Score:2
jp flag

To avoid the issue in the future, you can use python virtual environments for your coding and leave the ubuntu system stuff alone.

You will have your own python environment, used only by you, fully under your control, and you will know what's happening with it at all times. Instead of the system possibly updating the modules you are trying to use in your code.

mckenzm avatar
in flag
..and then the code breaks when it goes anywhere else. Virtual environments are a mixed blessing.
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.