Skip to content

ImportError: cannot import name 'hdrs' #3285

@sbhadr

Description

@sbhadr

Long story short

Aiohttp is unusable when imported on Python 3.5.

Expected behaviour

Normal usage.

Actual behaviour

ImportError: cannot import name 'hdrs' when importing aiohttp.

Steps to reproduce

import aiohttp

Your environment

Windows 10, Python 3.5

Error Log

Traceback (most recent call last):
  File "cc.py", line 1, in <module>
    from pyblox import *
  File "C:\Users\sanja\AppData\Local\Programs\Python\Python35\lib\site-packages\pyblox\__init__.py", line 16, in <module>
    from .api.assets import Assets
  File "C:\Users\sanja\AppData\Local\Programs\Python\Python35\lib\site-packages\pyblox\api\assets.py", line 9, in <module>
    from .http import Http
  File "C:\Users\sanja\AppData\Local\Programs\Python\Python35\lib\site-packages\pyblox\api\http.py", line 11, in <module>
    import aiohttp
  File "C:\Users\sanja\AppData\Roaming\Python\Python35\site-packages\aiohttp\__init__.py", line 9, in <module>
    from . import hdrs  # noqa
ImportError: cannot import name 'hdrs'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions