Closed Konard closed 9 months ago
gitpod /workspace/russian-laws-bot (main) $ pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt Requirement already satisfied: pip in /home/gitpod/.pyenv/versions/3.12.1/lib/python3.12/site-packages (24.0) Collecting aiofiles~=23.1.0 (from -r requirements.txt (line 1)) Downloading aiofiles-23.1.0-py3-none-any.whl (14 kB) Collecting httpx~=0.25.0 (from -r requirements.txt (line 2)) Downloading httpx-0.25.2-py3-none-any.whl.metadata (6.9 kB) Collecting openai~=0.28.0 (from -r requirements.txt (line 3)) Downloading openai-0.28.1-py3-none-any.whl.metadata (11 kB) Collecting aiogram~=3.1.1 (from -r requirements.txt (line 4)) Downloading aiogram-3.1.1-py3-none-any.whl.metadata (7.1 kB) Collecting python-dotenv~=1.0.0 (from -r requirements.txt (line 5)) Downloading python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB) Collecting tiktoken~=0.5.2 (from -r requirements.txt (line 6)) Downloading tiktoken-0.5.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB) Requirement already satisfied: anyio in /home/gitpod/.pyenv/versions/3.12.1/lib/python3.12/site-packages (from httpx~=0.25.0->-r requirements.txt (line 2)) (4.2.0) Requirement already satisfied: certifi in /home/gitpod/.pyenv/versions/3.12.1/lib/python3.12/site-packages (from httpx~=0.25.0->-r requirements.txt (line 2)) (2024.2.2) Collecting httpcore==1.* (from httpx~=0.25.0->-r requirements.txt (line 2)) Downloading httpcore-1.0.2-py3-none-any.whl.metadata (20 kB) Requirement already satisfied: idna in /home/gitpod/.pyenv/versions/3.12.1/lib/python3.12/site-packages (from httpx~=0.25.0->-r requirements.txt (line 2)) (3.6) Requirement already satisfied: sniffio in /home/gitpod/.pyenv/versions/3.12.1/lib/python3.12/site-packages (from httpx~=0.25.0->-r requirements.txt (line 2)) (1.3.0) Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx~=0.25.0->-r requirements.txt (line 2)) Downloading h11-0.14.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 2.4 MB/s eta 0:00:00 Requirement already satisfied: requests>=2.20 in /home/gitpod/.pyenv/versions/3.12.1/lib/python3.12/site-packages (from openai~=0.28.0->-r requirements.txt (line 3)) (2.31.0) Collecting tqdm (from openai~=0.28.0->-r requirements.txt (line 3)) Downloading tqdm-4.66.2-py3-none-any.whl.metadata (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 67.1 MB/s eta 0:00:00 Collecting aiohttp (from openai~=0.28.0->-r requirements.txt (line 3)) Downloading aiohttp-3.9.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.4 kB) Downloading aiohttp-3.8.6.tar.gz (7.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.4/7.4 MB 60.6 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting magic-filter~=1.0.11 (from aiogram~=3.1.1->-r requirements.txt (line 4)) Downloading magic_filter-1.0.12-py3-none-any.whl.metadata (1.5 kB) Collecting pydantic<2.4,>=2.1.1 (from aiogram~=3.1.1->-r requirements.txt (line 4)) Downloading pydantic-2.3.0-py3-none-any.whl.metadata (148 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.8/148.8 kB 193.9 MB/s eta 0:00:00 Collecting typing-extensions~=4.7.1 (from aiogram~=3.1.1->-r requirements.txt (line 4)) Downloading typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB) Collecting regex>=2022.1.18 (from tiktoken~=0.5.2->-r requirements.txt (line 6)) Downloading regex-2023.12.25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 195.7 MB/s eta 0:00:00 Requirement already satisfied: attrs>=17.3.0 in /home/gitpod/.pyenv/versions/3.12.1/lib/python3.12/site-packages (from aiohttp->openai~=0.28.0->-r requirements.txt (line 3)) (23.2.0) Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /home/gitpod/.pyenv/versions/3.12.1/lib/python3.12/site-packages (from aiohttp->openai~=0.28.0->-r requirements.txt (line 3)) (3.3.2) Collecting multidict<7.0,>=4.5 (from aiohttp->openai~=0.28.0->-r requirements.txt (line 3)) Downloading multidict-6.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.2 kB) Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp->openai~=0.28.0->-r requirements.txt (line 3)) Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) Collecting yarl<2.0,>=1.0 (from aiohttp->openai~=0.28.0->-r requirements.txt (line 3)) Downloading yarl-1.9.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (31 kB) Collecting frozenlist>=1.1.1 (from aiohttp->openai~=0.28.0->-r requirements.txt (line 3)) Downloading frozenlist-1.4.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB) Collecting aiosignal>=1.1.2 (from aiohttp->openai~=0.28.0->-r requirements.txt (line 3)) Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting annotated-types>=0.4.0 (from pydantic<2.4,>=2.1.1->aiogram~=3.1.1->-r requirements.txt (line 4)) Downloading annotated_types-0.6.0-py3-none-any.whl.metadata (12 kB) Collecting pydantic-core==2.6.3 (from pydantic<2.4,>=2.1.1->aiogram~=3.1.1->-r requirements.txt (line 4)) Downloading pydantic_core-2.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.5 kB) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/gitpod/.pyenv/versions/3.12.1/lib/python3.12/site-packages (from requests>=2.20->openai~=0.28.0->-r requirements.txt (line 3)) (2.2.0) Downloading httpx-0.25.2-py3-none-any.whl (74 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.0/75.0 kB 214.0 MB/s eta 0:00:00 Downloading httpcore-1.0.2-py3-none-any.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.9/76.9 kB 235.5 MB/s eta 0:00:00 Downloading openai-0.28.1-py3-none-any.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.0/77.0 kB 194.5 MB/s eta 0:00:00 Downloading aiogram-3.1.1-py3-none-any.whl (462 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 462.5/462.5 kB 284.7 MB/s eta 0:00:00 Downloading python_dotenv-1.0.1-py3-none-any.whl (19 kB) Downloading tiktoken-0.5.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 272.1 MB/s eta 0:00:00 Downloading magic_filter-1.0.12-py3-none-any.whl (11 kB) Downloading pydantic-2.3.0-py3-none-any.whl (374 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 374.5/374.5 kB 300.4 MB/s eta 0:00:00 Downloading pydantic_core-2.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 85.9 MB/s eta 0:00:00 Downloading regex-2023.12.25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (789 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 789.1/789.1 kB 308.1 MB/s eta 0:00:00 Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB) Downloading tqdm-4.66.2-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 172.5 MB/s eta 0:00:00 Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB) Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Downloading frozenlist-1.4.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (281 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 281.5/281.5 kB 302.3 MB/s eta 0:00:00 Downloading multidict-6.0.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (130 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 130.8/130.8 kB 298.2 MB/s eta 0:00:00 Downloading yarl-1.9.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (322 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 322.4/322.4 kB 268.9 MB/s eta 0:00:00 Building wheels for collected packages: aiohttp Building wheel for aiohttp (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for aiohttp (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [173 lines of output] ********************* * Accelerated build * ********************* running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-312 creating build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/worker.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_ws.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_urldispatcher.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_server.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_runner.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_routedef.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_response.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_request.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_protocol.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_middlewares.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_log.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_fileresponse.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_exceptions.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web_app.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/web.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/typedefs.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/tracing.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/test_utils.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/tcp_helpers.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/streams.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/resolver.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/pytest_plugin.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/payload_streamer.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/payload.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/multipart.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/log.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/locks.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/http_writer.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/http_websocket.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/http_parser.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/http_exceptions.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/http.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/helpers.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/hdrs.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/formdata.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/cookiejar.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/connector.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/client_ws.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/client_reqrep.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/client_proto.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/client_exceptions.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/client.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/base_protocol.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/abc.py -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/__init__.py -> build/lib.linux-x86_64-cpython-312/aiohttp running egg_info writing aiohttp.egg-info/PKG-INFO writing dependency_links to aiohttp.egg-info/dependency_links.txt writing requirements to aiohttp.egg-info/requires.txt writing top-level names to aiohttp.egg-info/top_level.txt reading manifest file 'aiohttp.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'aiohttp' anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyd' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution warning: no previously-included files matching '*.lib' found anywhere in distribution warning: no previously-included files matching '*.dll' found anywhere in distribution warning: no previously-included files matching '*.a' found anywhere in distribution warning: no previously-included files matching '*.obj' found anywhere in distribution warning: no previously-included files found matching 'aiohttp/*.html' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE.txt' writing manifest file 'aiohttp.egg-info/SOURCES.txt' copying aiohttp/_cparser.pxd -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/_find_header.pxd -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/_headers.pxi -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/_helpers.pyi -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/_helpers.pyx -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/_http_parser.pyx -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/_http_writer.pyx -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/_websocket.pyx -> build/lib.linux-x86_64-cpython-312/aiohttp copying aiohttp/py.typed -> build/lib.linux-x86_64-cpython-312/aiohttp creating build/lib.linux-x86_64-cpython-312/aiohttp/.hash copying aiohttp/.hash/_cparser.pxd.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash copying aiohttp/.hash/_find_header.pxd.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash copying aiohttp/.hash/_helpers.pyi.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash copying aiohttp/.hash/_helpers.pyx.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash copying aiohttp/.hash/_http_parser.pyx.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash copying aiohttp/.hash/_http_writer.pyx.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash copying aiohttp/.hash/_websocket.pyx.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash copying aiohttp/.hash/hdrs.py.hash -> build/lib.linux-x86_64-cpython-312/aiohttp/.hash running build_ext building 'aiohttp._websocket' extension creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/aiohttp gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/home/gitpod/.pyenv/versions/3.12.1/include/python3.12 -c aiohttp/_websocket.c -o build/temp.linux-x86_64-cpython-312/aiohttp/_websocket.o aiohttp/_websocket.c: In function ‘__pyx_pf_7aiohttp_10_websocket__websocket_mask_cython’: aiohttp/_websocket.c:1475:3: warning: ‘Py_OptimizeFlag’ is deprecated [-Wdeprecated-declarations] 1475 | if (unlikely(!Py_OptimizeFlag)) { | ^~ In file included from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/Python.h:48, from aiohttp/_websocket.c:6: /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/cpython/pydebug.h:13:37: note: declared here 13 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_OptimizeFlag; | ^~~~~~~~~~~~~~~ aiohttp/_websocket.c: In function ‘__Pyx_get_tp_dict_version’: aiohttp/_websocket.c:2680:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 2680 | return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0; | ^~~~~~ In file included from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/dictobject.h:90, from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/Python.h:61, from aiohttp/_websocket.c:6: /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/cpython/dictobject.h:22:34: note: declared here 22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ aiohttp/_websocket.c: In function ‘__Pyx_get_object_dict_version’: aiohttp/_websocket.c:2692:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 2692 | return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0; | ^~~~~~ In file included from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/dictobject.h:90, from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/Python.h:61, from aiohttp/_websocket.c:6: /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/cpython/dictobject.h:22:34: note: declared here 22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ aiohttp/_websocket.c: In function ‘__Pyx_object_dict_version_matches’: aiohttp/_websocket.c:2696:5: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 2696 | if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict))) | ^~ In file included from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/dictobject.h:90, from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/Python.h:61, from aiohttp/_websocket.c:6: /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/cpython/dictobject.h:22:34: note: declared here 22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ aiohttp/_websocket.c: In function ‘__Pyx_CLineForTraceback’: aiohttp/_websocket.c:2741:9: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 2741 | __PYX_PY_DICT_LOOKUP_IF_MODIFIED( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/dictobject.h:90, from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/Python.h:61, from aiohttp/_websocket.c:6: /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/cpython/dictobject.h:22:34: note: declared here 22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ aiohttp/_websocket.c:2741:9: warning: ‘ma_version_tag’ is deprecated [-Wdeprecated-declarations] 2741 | __PYX_PY_DICT_LOOKUP_IF_MODIFIED( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/dictobject.h:90, from /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/Python.h:61, from aiohttp/_websocket.c:6: /home/gitpod/.pyenv/versions/3.12.1/include/python3.12/cpython/dictobject.h:22:34: note: declared here 22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag; | ^~~~~~~~~~~~~~ aiohttp/_websocket.c: In function ‘__Pyx_PyInt_As_long’: aiohttp/_websocket.c:3042:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 3042 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ aiohttp/_websocket.c:3097:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 3097 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ aiohttp/_websocket.c: In function ‘__Pyx_PyInt_As_int’: aiohttp/_websocket.c:3238:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 3238 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ aiohttp/_websocket.c:3293:53: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 3293 | const digit* digits = ((PyLongObject*)x)->ob_digit; | ^~ aiohttp/_websocket.c: In function ‘__Pyx_PyIndex_AsSsize_t’: aiohttp/_websocket.c:3744:45: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ 3744 | const digit* digits = ((PyLongObject*)b)->ob_digit; | ^~ error: command '/usr/bin/gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for aiohttp Failed to build aiohttp ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects