6 ms·
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
by DanielKehoe 2y 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 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-mac/ https://www.freecodecamp.org/news/how-to-install-python-on-a...)
[2] "Rye" (https://rye-up.com/ https://rye-up.com/)
- gtirloni 2y agorye's website is down.
- ipositronic 2y ago[dead]
- rat87 2y agoThey moved it to https://rye.astral.sh/ https://rye.astral.sh/
- philomath_mn 2y agoIs 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.
- rat87 2y agoRye has moved to https://rye.astral.sh/ https://rye.astral.sh/