Skip to content
Myr

install.rst

This file

Path

docs/user/install.rst

47 lines · 1.3 KiB

Last changed by

Merge pull request #2133 from esparta/masterIan Cordascobefore adoption54fc807

History of this file

Take it

1.. _install:23Installation4============56This part of the documentation covers the installation of Requests.7The first step to using any software package is getting it properly installed.8910Distribute & Pip11----------------1213Installing Requests is simple with `pip <https://pip.pypa.io>`_, just run14this in your terminal::1516    $ pip install requests1718or, with `easy_install <http://pypi.python.org/pypi/setuptools>`_::1920    $ easy_install requests2122But, you really `shouldn't do that <https://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install>`_.232425Get the Code26------------2728Requests is actively developed on GitHub, where the code is29`always available <https://github.com/kennethreitz/requests>`_.3031You can either clone the public repository::3233    $ git clone git://github.com/kennethreitz/requests.git3435Download the `tarball <https://github.com/kennethreitz/requests/tarball/master>`_::3637    $ curl -OL https://github.com/kennethreitz/requests/tarball/master3839Or, download the `zipball <https://github.com/kennethreitz/requests/zipball/master>`_::4041    $ curl -OL https://github.com/kennethreitz/requests/zipball/master424344Once you have a copy of the source, you can embed it in your Python package,45or install it into your site-packages easily::4647    $ python setup.py install