简体   繁体   English

尝试在 mac OS 10.6.8 上安装 pip

[英]Trying to install pip on mac OS 10.6.8

I am trying to install pip on my old macbook by running the command sudo easy_install pip Once I ran this it asked me for my password and appeared to install but I then got the message:我正在尝试通过运行命令在我的旧 Macbook 上安装 pip

Searching for pip Reading http://pypi.python.org/simple/pip/ Couldn't find index page for 'pip' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for pip error: Could not find suitable distribution for Requirement.parse('pip') Searching for pip Reading http://pypi.python.org/simple/pip/ Couldn't find index page for 'pip' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http:// pypi.python.org/simple/ No local packages or download links found for pip 错误:找不到 Requirement.parse('pip') 的合适分布

I then thought I would double check if it installed using: pip -V which returned -bash: pip: command not found Help.然后我想我会仔细检查它是否安装使用: pip -V 返回 -bash: pip: command not found 帮助。 thanks谢谢

run this command: brew install python to install the newest python first.运行此命令: brew install python 首先安装最新的 python。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM