@zlodiak

Как установить aiohttp?

Помогите пожалуйста понять как для python3.7 установить модуль aiohttp. У меня консоль выводит такую ошибку:
md@md ~/.MINT17/code/python/test $ pip install aiohttp
Downloading/unpacking aiohttp
  Downloading aiohttp-3.6.2.tar.gz (1.1MB): 1.1MB downloaded
  Running setup.py (path:/tmp/pip_build_md/aiohttp/setup.py) egg_info for package aiohttp
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_md/aiohttp/setup.py", line 23
        print("Install submodules when building from git clone", file=sys.stderr)
                                                                     ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_md/aiohttp/setup.py", line 23

    print("Install submodules when building from git clone", file=sys.stderr)

                                                                 ^

SyntaxError: invalid syntax

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_md/aiohttp
Storing debug log for failure in /home/md/.pip/pip.log
md@md ~/.MINT17/code/python/test $ python --version
Python 3.7.0


Не понимаю что не так. Я делаю по документации.
  • Вопрос задан
  • 701 просмотр
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы