this post was submitted on 16 Jun 2023
0 points (NaN% liked)

Memes

45548 readers
1879 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] AccountMaker@slrpnk.net 0 points 1 year ago (1 children)

When I was first starting out my programming adventures with Python, someone told me that I should work with Python 3 instead of 2 because that's what will be maintained in the future (this was some 8 years ago). I decided to listen and when I got home I opened up my terminal, wrote:

sudo apt-get remove python

Followed by

sudo apt-get install python3

Only to be suddenly greeted with:

sudo: command not found

[–] UnbeatenDeployGoofy@lemmy.ml 0 points 1 year ago (1 children)

In my days of learning Python, I was told to use pyenv and set environments based on the projects rather than making changes to the system. Maybe there are better options nowadays.

Pyenv is still a good option