But how to make python command invokes python 3.7 or python 3.9 instead of python 2.7, you can follow the below steps.To get the current python version, add uppercase -V as the python command parameter like below.Then you can go back to the terminal bash environment again. To exit the Python interactive interpreter, input command exit().Type "help", "copyright", "credits" or "license" for more information. To use the new Python version, you need to run python3 in the terminal.Now when you execute the python command in a terminal, you will find it still uses the old version which is 2.7.How To Fix Installed Python3 But Still Python 2.7 Is Used Error. Now you can see all the 3 python version has been installed in the /Library/Frameworks/amework/Versions folder.Ģ. ![]()
0 Comments
Leave a Reply. |