Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Example Analysis of Mac changing python3 to 3.7 and changing pip3 to 3.7 Python Multi-version coexistence

Shulou Source: shulou.com Published: 2022-06-01 17:52:59 10月03日 Update

Mac change python3 to 3.7 and change pip3 to 3.7 Python multi-version coexistence example analysis, I believe that many inexperienced people do not know what to do about this, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

Change the pip3 point to

First delete the original link

Sudo rm / usr/local/bin/python3sudo ln-s / usr/local/bin/python3.7 / usr/local/bin/python3

Enter which pip3 to see that the point of pip3 has been changed to 3.7. it is recommended not to delete 3.5. there are some programs that depend on version 3.5 or version 2.

At this point, enter python3 in shell to see that the changed python version is 3.7

After reading the above, have you mastered the method of sample analysis in which Mac changes the direction of python3 to 3.7 and the point of pip3 to 3.7 Python multi-version coexistence? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Point to version example analysis content method more problem input helpless for this reason suggestions skills procedures articles experience industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Linux OPPO Reno MySQL Microsoft