需要安装python3的pip

2024-04-18 13:23:47 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经在服务器上安装了Python2.7和Python3.3,现在我需要为Python3安装pip。在

这里是我迄今为止尝试过的。在

sudo apt-get install python3-setuptools
sudo easy_install3 pip

这将为python3.2安装pip(我没有安装python3.2)

^{pr2}$

这将安装python3.2的pip

My need is to install few packages with python3.3 (lxml, ftplib, etc...) forthat I need pip but unfortunately I was unable to do this.

我不能只设置python3.3,因为基本需求是python2.7(对于odoo)。在

有谁能指引我正确的方向吗。在


Tags: installpiptogetmyeasysudoapt