Mac在终端下载pip输入sudo easy_install pip 后,报出invalid syntax,求大神解!

输入命令后具体输出如下:

Searching for pip

Reading https://pypi.org/simple/pip/

Downloading https://files.pythonhosted.org/packages/52/e1/06c018197d8151383f66ebf6979d951995cf495629fc54149491f5d157d0/pip-21.2.4.tar.gz#sha256=0eb8a1516c3d138ae8689c0c1a60fde7143310832f9dc77e11d8a4bc62de193b

Best match: pip 21.2.4

Processing pip-21.2.4.tar.gz

Writing /tmp/easy_install-JfBsFv/pip-21.2.4/setup.cfg

Running pip-21.2.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-JfBsFv/pip-21.2.4/egg-dist-tmp-NBHRPO

Traceback (most recent call last):

  File "/usr/bin/easy_install", line 13, in <module>

    load_entry_point('setuptools==41.0.1', 'console_scripts', 'easy_install')()

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/command/easy_install.py", line 2316, in main

    **kw

  File "/System/L

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 10
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 10
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值