Good news! Protection from breaking your system with Python

Chat about anything related to Linux Mint
Forum rules
Please do not post support questions here. Before you post please read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Post Reply
User avatar
spamegg
Level 10
Level 10
Posts: 3066
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Good news! Protection from breaking your system with Python

Post by spamegg »

Many users who want to go into programming end up breaking their system by messing with Python. So much so, that it prompted me to make a tutorial about it: viewtopic.php?f=42&p=2103213

It seems that Debian / Ubuntu will start taking precautions against this.
https://www.linuxuprising.com/2023/03/n ... ikely.html

We, Mint users, probably won't see this until Mint 22 / Ubuntu 24.04.

Note that the article offers some alternatives, but I'd still recommend my tutorial using pyenv over those alternatives. It's much easier to manage, and much safer. Especially the recommendation to install your own Python from source is a horrible one.
User avatar
Midnight True
Level 4
Level 4
Posts: 460
Joined: Wed Jul 20, 2022 3:23 am
Location: Pilipinas 🇵🇭

Re: Good news! Protection from breaking your system with Python

Post by Midnight True »

Great news indeed 🍻 Thanks for the update 🥳️
OS: Linux Mint 21.1 x86_64 Host: VivoBook_ASUSLaptop X415JA 1.0 Kernel: 5.15.0-60-generic DE: Xfce 4.16
"Learning by Trying ... Learning by Failing ... Learning by Doing"
User avatar
xiamu
Level 1
Level 1
Posts: 6
Joined: Sat Mar 18, 2023 8:16 pm

Re: Good news! Protection from breaking your system with Python

Post by xiamu »

I tried python 3.11.2 and it failed, the system doesn't work! Finally I had to reinstall the system!
User avatar
xiamu
Level 1
Level 1
Posts: 6
Joined: Sat Mar 18, 2023 8:16 pm

Re: Good news! Protection from breaking your system with Python

Post by xiamu »

Thank you very, very much for the tutorial! I successfully ran "python 3.11.2" in "PyCharm".

I don't know how to share my joy! I just want to thank you!

I was googling to other installation tutorials yesterday, but they made me modify my system environment, so I ended up with corrupted system files that wouldn't boot, and I ended up having to reinstall my system!

Thanks for being able to see your tutorial! Let me install successfully! May God bless you, Amen!
User avatar
spamegg
Level 10
Level 10
Posts: 3066
Joined: Mon Oct 28, 2019 2:34 am
Contact:

Re: Good news! Protection from breaking your system with Python

Post by spamegg »

xiamu wrote: Mon Mar 20, 2023 12:00 am Thank you very, very much for the tutorial! I successfully ran "python 3.11.2" in "PyCharm".

I don't know how to share my joy! I just want to thank you!

I was googling to other installation tutorials yesterday, but they made me modify my system environment, so I ended up with corrupted system files that wouldn't boot, and I ended up having to reinstall my system!

Thanks for being able to see your tutorial! Let me install successfully! May God bless you, Amen!
You are very welcome!
We (myself included) all have messed our systems at some point, so that's why programmers (PyEnv developers in this case) developed the appropriate solution for it. It's a common problem, similar solutions exist for other programming languages as well (nvm for Node.js, rbenv for Ruby, and so on).
Post Reply

Return to “Chat about Linux Mint”