Traceback (most recent call last): File "/home/seregka/Рабочий стол/Exmoroom/Test-bot.py", line 1, in <module> from aiogram import Bot, types File "/home/seregka/.local/lib/python3.7/site-packages/aiogram/__init__.py", line 9, in <module> from . import bot File "/home/seregka/.local/lib/python3.7/site-packages/aiogram/bot/__init__.py", line 1, in <module> from . import api File "/home/seregka/.local/lib/python3.7/site-packages/aiogram/bot/api.py", line 5, in <module> import aiohttp File "/home/seregka/.local/lib/python3.7/site-packages/aiohttp/__init__.py", line 6, in <module> from .client import BaseConnector as BaseConnector File "/home/seregka/.local/lib/python3.7/site-packages/aiohttp/client.py", line 30, in <module> from yarl import URL File "/home/seregka/.local/lib/python3.7/site-packages/yarl/__init__.py", line 1, in <module> from ._url import URL, cache_clear, cache_configure, cache_info File "/home/seregka/.local/lib/python3.7/site-packages/yarl/_url.py", line 56, in <module> @rewrite_module File "/home/seregka/.local/lib/python3.7/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'
python3.7 linux mint
пробовал:
python3.7 -m pip install -U yarl==1.4.2
Command "/usr/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6ggkumnf/multidict/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-waf3muk9-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-6ggkumnf/multidict/