Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python 3, easy_install, pip and pypi

What is the current status of easy_install, pip and the repository (pypi.python.org) with regards to Python 3.x?

Are there versions of easy_install and/or pip that can install the right versions of packages from there? Else, are they expected soon?

like image 951
Muhammad Alkarouri Avatar asked Oct 03 '10 12:10

Muhammad Alkarouri


People also ask

Is PyPI and pip same?

The Python Package Index, abbreviated as PyPI, is the official repository of software for the Python programming language. By default, pip — which is the most popular Python package manager — uses PyPI as the source for retrieving package dependencies.

Does pip use PyPI?

Using a Custom Package Index. By default, pip uses PyPI to look for packages.

What's the difference between pip and pip3?

pip3 always operates on the Python3 environment only, as pip2 does with Python2. pip operates on whichever environment is appropriate to the context. For example if you are in a Python3 venv, pip will operate on the Python3 environment.


2 Answers

PyPi itself supports Python 3. The setuptools package provides a version of easy_install that works with Python 3.

According to the pip page, pip support Python 3 since v 1.0.

like image 128
Daniel Stutzbach Avatar answered Oct 08 '22 22:10

Daniel Stutzbach


There is ongoing effort to provide support for Python 3 in pip.
See Porting Pip to Python 3 thread on virtualenv mailing list or head directly to Vinay Sajip's repo on bitbucket.org

like image 21
Piotr Dobrogost Avatar answered Oct 08 '22 21:10

Piotr Dobrogost