It seems there is an issue with aiohttp and subsequently asyhttp, it is related to the recent yarl >= 1.5.0.
We should take a look to aio-libs/yarl#485, anyway, using previous yarl==1.4.2 makes things work.
``
Python 3.5.3 (default, Jul 9 2020, 13:00:10)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
from asyhttp import loop
Traceback (most recent call last):
File "", line 1, in
File "/home/a/.local/lib/python3.5/site-packages/asyhttp/init.py", line 1, in
from .asyhttp import loop
File "/home/a/.local/lib/python3.5/site-packages/asyhttp/asyhttp.py", line 13, in
from aiohttp import ClientSession, TCPConnector, client_exceptions
File "/home/a/.local/lib/python3.5/site-packages/aiohttp/init.py", line 6, in
from .client import BaseConnector as BaseConnector
File "/home/a/.local/lib/python3.5/site-packages/aiohttp/client.py", line 30, in
from yarl import URL
File "/home/a/.local/lib/python3.5/site-packages/yarl/init.py", line 1, in
from ._url import URL, cache_clear, cache_configure, cache_info
File "/home/a/.local/lib/python3.5/site-packages/yarl/_url.py", line 56, in
@rewrite_module
File "/home/a/.local/lib/python3.5/site-packages/yarl/_url.py", line 132, in URL
_QUERY_PART_QUOTER = _Quoter(safe="?/:@", qs=True, requote=False)
File "yarl/_quoting.pyx", line 192, in yarl._quoting._Quoter.init
TypeError: init() got an unexpected keyword argument 'requote'
``
aio-libs/yarl#485
It seems there is an issue with aiohttp and subsequently asyhttp, it is related to the recent yarl >= 1.5.0.
We should take a look to aio-libs/yarl#485, anyway, using previous yarl==1.4.2 makes things work.
``
Python 3.5.3 (default, Jul 9 2020, 13:00:10)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
aio-libs/yarl#485