News for hackers. Stuff that matters.
Re:Escaping from Anaconda (Python) by extr on Monday September 02, 2024 @03:21PM (#41428090)
At this point I would highly highly recommend uv as the starting point for stuff like this. As of the 0.3.0 release it now handles installing python for you as well as all the regular pip stuff and venv management/setup.

https://astral.sh/blog/uv-unified-python-packaging

Re:Escaping from Anaconda (Python) by greazy on Monday September 02, 2024 @03:44PM (#41428234)
It's tricky. For non CS students, do you teach them coding in python or everything else?

IMO, it's best to set them up on their work station with everything they need to get started then as the need arises start introducing more complex concepts such as deps management, version control, python versions etc.

I always worry that we over load students when we teach them coding. It can lead to feeling overwhelmed, thinking coding is not for them and never coming near it.

So uv is not the solution imo. Bare bones python with a basic repl editor for starting out.

This is my experience from being a helper and a trainer in the softwate carpentries workshops.

Re:Escaping from Anaconda (Python) by Qem on Monday September 02, 2024 @08:41PM (#41430072)
> Bare bones python with a basic repl editor for starting out.

Fortunately Python already includes an basic editor in the standard distribution, IDLE. It is an underrated tool. I think one reason Ruby stalled and failed to overtake Python after an initial surge in the aughts was the lack of an similar tool leading to more attrition for beginners. See for example this 13 year-old stackoverflow question: https://stackoverflow.com/questions/3763140/idle-like-intera...

Re:Escaping from Anaconda (Python) by joshdavham on Monday September 02, 2024 @03:33PM (#41428167)
You'd recommend uv to python beginners? Bear in mind that the reason that many students are lured into using Anaconda is because they're still scared of the command line.
Re:Escaping from Anaconda (Python) by a-dub on Monday September 02, 2024 @06:01PM (#41429142)
how does this compare to rye?
Re:Escaping from Anaconda (Python) by extr on Tuesday September 03, 2024 @01:20PM (#41437065)
Good question. They address it here: https://github.com/astral-sh/rye/discussions/1164