Installation instructions

We recommend that you use pip to install Python on MaxCompute (PyODPS) when you have access to the Internet. pip is often installed with latest releases of Python. If your Python release does not include pip, you have to install it manually. For more information about installing pip, see instructions on installing pip .

Make sure that you install the correct versions of setuptools by the following command.

pip install setuptools>=3.0

Install PyODPS by using the following code:

pip install pyodps

Check whether the installation has been completed:

python -c "from odps import ODPS"

If your version of Python is not the default version, run the following code after installing pip:

/home/tops/bin/python2.7 -m pip install setuptools>=3.0

Repeat these steps to install your version of Python.