Ive got a mac, and as apart of the python curriculum we are supposed to download and open pipenv to learn how to use it. (pipenv being pip’s virtual environment settup ) I got pip downloaded and integrated with the terminal using the official python manual’s guide, but I cannot readily find out how to update the version of python the terminal operates with. now with os catalina when I open the python supporting receptacle within the terminal I see this:
WARNING: Python 2.7 is not recommended.
This version is included in macOS for compatibility with legacy software.
Future versions of macOS will not include Python 2.7.
Instead, it is recommended that you transition to using ‘python3’ from within Terminal.
this language would suggest it’s possible to integrate the python update into the terminal without using something like homebrew (yuck), and integration clearly can be accomplished (the following is from what I witnessed in the codecademy lesson):
I cannot use any of the tools the python update downloaded from the official site supplied to do so, and simple aliasing or prepending things to the PATH hasn’t worked for me so far. Also I know its possible to get (a potentially antiquated version of) pipenv alright without getting python 3 (3.8) integrated but at this point It has become my mission to get it integrated. How is it done? I am not really open to using something like homebrew, I would rather just create a linux environment if homebrew is the only option, but If my opinions of homebrew are baseless I’d be happy to hear it.
so to be explicit, I want to know how to make the terminal in mac use python 3.8 as it’s default so when I download python packages they are the ones for python 3.8, and so I can use the full extent of pythons abilities on my computer, as in applied onto my computer (as thats the only reason I can imagine python is pre-installed as apart of the shell and not exclusively coded in a coding app). or if this is not the right approach what the right approach is. **warning: I’ve sunk close to 30 hours into troubleshooting this, learning this stuff is a process If you don’t have prior experience with these things, and it seems unexpectedly hopeless.