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

查看:30
本文介绍了在 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   

您必须将 a.b 替换为您的 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天全站免登陆