Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Update getting_started.rst #37

Merged
merged 1 commit into from
Apr 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 12 additions & 18 deletions getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ Python 3.5 (or higher) only
This documentation is written for Python 3.5 to avail of the new
``async`` and ``await`` keywords.

If you have Python 3.5 installed you only need to install ``aiohttp``::
If you have Python 3.5 installed you only need to install ``aiohttp``

pip install -U aiohttp
.. highlight:: shell

pip install -U aiohttp

If you don't have Python 3.5 installed yet, you have several options
to install it.
Expand All @@ -22,28 +24,20 @@ All platforms with ``conda``
`Miniconda <http://conda.pydata.org/miniconda.html>`_ for our platform.
* Create a new Python 3.5 environment (named ``aio35``, use a different
if you like)::

.. highlight:: bash


conda create -n aio35 python=3.5
.. note::
``conda activate`` and ``conda deactivate`` only work on conda 4.6 and later versions.
For conda versions prior to 4.6, run:

* Activate it.
Linux and OS X::

.. highlight:: bash

$ source activate aio35

Windows::

.. highlight:: bash
* Windows: ``activate`` or ``deactivate``
* Linux and macOS: ``source activate`` or ``source deactivate``

$ source activate aio35
* Activate it.
$ conda activate aio35

* Install ``aiohttp``::

.. highlight:: bash

$(aio35) pip install aiohttp

Platform specific
Expand Down