在Cygwin上安装Pip-3.2 [英] Installing Pip-3.2 on Cygwin

查看:224
本文介绍了在Cygwin上安装Pip-3.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Cygwin安装了Python 3。但是,我无法通过 pip 安装Python 3包。有没有办法做这个?

I have Python 3 installed on Cygwin. However, I am unable to install Python 3 packages via pip. Is there a way to do this?

推荐答案

1)安装cygwin时,确保你安装
python / python-setuptools从列表。这将安装easy_install包。

1)While installing cygwin, make sure you install the python/python-setuptools from the list. This will install "easy_install" package.

2)键入以下命令:

easy_install-a.b pip   

您必须替换 ab 你的python版本可以是2.7或3.4或任何其他。

You must replace a.b with your python version which can be 2.7 or 3.4 or whatever else.

这篇关于在Cygwin上安装Pip-3.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆