Score:0

python version issues after ubuntu update to 22.04.1

pe flag

I updated my ubuntu from 22.04 to 22.04.1 (jammy jellyfish), and I have been having some issues that I believe are related to python since. For example, whenever I try to install a python package I get

ModuleNotFoundError: No module named 'distutils.cmd'

This happens whenever I try to install a package on a project that is set with python 3.9 (The systems python version is set to 3.10).

I kind of just want to have the system reinstall and reconfigure all python versions and settings to whatever the default is. Is that possible? If not, is someone familiar with similar issues and can help?

Score:0
cn flag

No, it is not possible. The system critically is relying on Python. Attempts to change the system wide installed python version will break your system.

To work with different versions of Python, you should set up virtual environments, that each can have their own Python version.

I sit in a Tesla and translated this thread with Ai:

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.