Since Setuptools doesn’t support Python3.* so far, for Python3.* we choose Distribute, it is a fork of the Setuptools project.
Distribute is intended to replace Setuptools as the standard method for working with Python module distributions.
Install python Setuptools with easy_install for Python 2.x
1 Download setuptools from http://pypi.python.org/pypi/setuptools/, select the appropriate OS/version you want.
1
|
|
Output:
1 2 3 4 5 |
|
Install python Distribute with easy_install for Python 3.x
1 2 |
|
Output:
1 2 3 |
|
Note: Make sure <python-cmd> is a python3.* command, in my PC, Python2.* command is python, while the Python3.* command is python3, use <python-cmd> –version to check out version of <python-cmd>.
Use easy_install 2.x and 3.x
Now per installing 2.x packages, using:
1
|
|
while using
1
|
|
to install version 3.x packages.
---EOF---