News for hackers. Stuff that matters.
Re:Python 3.11 by jnwatson on Sunday October 03, 2021 @10:59PM (#28742535)
Please enough of this. Trying spending 2 minutes googling it. Hint: pyenv
Re:Python 3.11 by em500 on Monday October 04, 2021 @04:37AM (#28744452)
If you spend 2 minutes googling it (or even just reading HN comments here), you'll get various people recommending venv, pyenv, poetry, conda, pyflow and probably a whole bunch of deprecated stuff, where it's totally unclear to outsiders which one to use.
Re:Python 3.11 by NathanOsullivan on Monday October 04, 2021 @05:59PM (#28752614)
Fwiw if you are an outsider, having gone through this exact issue myself recently start with venv: https://docs.python.org/3/library/venv.html

It is a standard library module and serves as the base functionality, most the other things you list are third party tools that build on the venv concept in various ways.

Once you grok venv, you will be in a position to understand if those tools can provide value to your particular situation.

Re:Python 3.11 by DrOctagon on Monday October 04, 2021 @02:24AM (#28743678)
I wanted to install python on a new Mac last night and just couldn’t get up and running. Closest I got was with using anaconda but although I could get the right env in the terminal I couldn’t get either paycharm or vscode to pick up the correct interpreter/packages etc.

I’d almost guarantee there was something simple I was missing but for someone not familiar with the ecosystem getting python set up to do more than just hello world is a shitshow.

Re:Python 3.11 by e3bc54b2 on Monday October 04, 2021 @02:04AM (#28743556)
virtualenv, pyenv, venv.. I'm sure they all work well, but for a newbie, the sheer choice is a killer, especially when they all work almost same, but not quite.

Now compare that with cargo or npm and the canonical way makes newbie upbringing SL much easier.

Re:Python 3.11 by alwillis on Monday October 04, 2021 @12:21AM (#28743014)
Took the words out of my mouth. Let’s not over complicate things.