Traceback (most recent call last):


 "/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2869, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-9-6b0f4dd1af9d>", line 1, in <module>

import aiohttp


 "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 19, in do_import

module = self._system_import(name, *args, **kwargs)


 "/anaconda3/lib/python3.6/site-packages/aiohttp/__init__.py", line 6, in <module>

from .client import *
# noqa


 "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 19, in do_import

module = self._system_import(name, *args, **kwargs)


 "/anaconda3/lib/python3.6/site-packages/aiohttp/client.py", line 17, in <module>

from . import client_exceptions, client_reqrep


 "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 19, in do_import

module = self._system_import(name, *args, **kwargs)


 "/anaconda3/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 17, in <module>

from . import hdrs, helpers, http, multipart, payload


 "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 19, in do_import

module = self._system_import(name, *args, **kwargs)


 "/anaconda3/lib/python3.6/site-packages/aiohttp/helpers.py", line 162, in <module>

@attr.s(frozen=True, slots=True)
TypeError: attributes() got an unexpected keyword argument 'frozen'

Traceback (most recent call last):


 "/anaconda3/lib/python3.6/site-packages/gevent/pywsgi.py", line 963, in handle_one_response

self.run_application()


 "/anaconda3/lib/python3.6/site-packages/gevent/pywsgi.py", line 911, in run_application

self.process_result()


 "/anaconda3/lib/python3.6/site-packages/gevent/pywsgi.py", line 895, in process_result

for data in self.result:


 "/anaconda3/lib/python3.6/site-packages/werkzeug/wsgi.py", line 870, in __next__

return self._next()


 "/anaconda3/lib/python3.6/site-packages/werkzeug/wrappers.py", line 82, in _iter_encoded

for item in iterable:
TypeError: 'Response' object is not iterable
