Open ev11ccaatt opened 2 years ago
I can't reproduce it with v1.2.14 locally. Maybe something about the network or the server? Using an incorrect version of aiohttp may also lead to this error. (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000680)
win11: login_web() get a wrong
wls2-kali
Traceback (most recent call last): File "/mnt/c/Users/Administrator/Desktop/test.py", line 5, in <module> from pixivpy_async import * File "/usr/local/lib/python3.9/dist-packages/pixivpy_async/__init__.py", line 6, in <module> from .aapi import AppPixivAPI File "/usr/local/lib/python3.9/dist-packages/pixivpy_async/aapi.py", line 2, in <module> from .bapi import BasePixivAPI File "/usr/local/lib/python3.9/dist-packages/pixivpy_async/bapi.py", line 9, in <module> from .net import Net File "/usr/local/lib/python3.9/dist-packages/pixivpy_async/net.py", line 1, in <module> import aiohttp File "/usr/lib/python3/dist-packages/aiohttp/__init__.py", line 6, in <module> from .client import ( File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in <module> from . import hdrs, http, payload File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in <module> from .http_parser import ( File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in <module> from .helpers import NO_EXTENSIONS, BaseTimerContext File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in <module> class CeilTimeout(async_timeout.timeout): TypeError: function() argument 'code' must be code, not str