Hacker News new | ask | show | jobs
by DanielKehoe 747 days ago
There are a lot of people coming to Python now, even among us who already code in other languages. The first thing I noticed was a confusing variety of ways to install Python, plus a lot of necessary-but-confusing tools for version management, package management, and environment management. I wrote a guide for my mac.install.guide website about installing Python [0] and then condensed it for freeCodeCamp [1].

In a nutshell, I recommend installing Python with Rye [2], an all-in-one project management tool for Python, written in Rust (for speed) and inspired by Cargo, borrowing a folder-based approach to development from other languages such as JavaScript and Ruby. Other people like Pyenv/Venv/Pip but I think it's easier to use a single all-in-one tool.

[0] "Install Python" (https://mac.install.guide/python/install)

[1] "How to Install Python on a Mac" (https://www.freecodecamp.org/news/how-to-install-python-on-a...)

[2] "Rye" (https://rye-up.com/)

3 comments

Is rye stable enough to recommend to newcomers?

I'm a huge believer in running things on your own machine, but, for a true novice, starting in something like replit may be a better choice.

Rye has moved to https://rye.astral.sh/
rye's website is down.
They moved it to https://rye.astral.sh/