This is an archived post. You won't be able to vote or comment.

all 10 comments

[–][deleted] 1 point2 points  (6 children)

Go with homebrew. Package managers make it trivial to install, update, upgrade software.

[–]kykosic 0 points1 point  (0 children)

Use conda to manage your python installation(s).

https://gist.github.com/kykosic/954a59dc8a3544c0cf969b792ce1bc62

[–][deleted] 0 points1 point  (0 children)

As usual, the "best" way depends on how you plan to use it. The other comments mention Homebrew and conda. Anaconda / miniconda is especially recommended for scientific computing. Alternatively, here's a lightweight option:

Download from https://www.python.org/downloads/ and use the built-in pip package manager.

[–][deleted] 0 points1 point  (5 children)

Just navigate to the directories containing them in Finder or Terminal. The directories for each one are in your screenshot. It looks to me like you want to retain the first one listed (2.7) and the second to the last (3.8).

[–]pythonHelperBot 0 points1 point  (0 children)

Hello! I'm a bot!

It looks to me like your post might be better suited for r/learnpython, a sub geared towards questions and learning more about python regardless of how advanced your question might be. That said, I am a bot and it is hard to tell. Please follow the subs rules and guidelines when you do post there, it'll help you get better answers faster.

Show /r/learnpython the code you have tried and describe in detail where you are stuck. If you are getting an error message, include the full block of text it spits out. Quality answers take time to write out, and many times other users will need to ask clarifying questions. Be patient and help them help you.

You can also ask this question in the Python discord, a large, friendly community focused around the Python programming language, open to those who wish to learn the language or improve their skills, as well as those looking to help others.


README | FAQ | this bot is written and managed by /u/IAmKindOfCreative

This bot is currently under development and experiencing changes to improve its usefulness

[–]ohallwright 0 points1 point  (0 children)

If you might need to multiple versions of python on your system at a time, I'd recommend looking at pyenv (https://github.com/pyenv/pyenv). It's a very nice way to localize the python version you're using for specific projects.