mac M1上Python2.7安装pip报SyntaxError

解法
步骤1

python –version 确认系统安装python的版本号

步骤2

查找对应版本的官方文档,获取

https://docs.python.org/release/2.7.16/installing/index.html?highlight=pip

步骤3

根据文档,执行命令 sudo python -m ensurepip –default-pip

搞定


This entry was posted in JAVA. Bookmark the permalink.
月小升QQ 2651044202, 技术交流QQ群 178491360
首发地址:月小升博客https://java-er.com/blog/mac-pip-python2-7/
无特殊说明,文章均为月小升原创,欢迎转载,转载请注明本文地址,谢谢
您的评论是我写作的动力.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*