{"id":973,"hash":"89c5833b6fbcbeaf8e5d323fc4b6dce8fbecb728194c2fa09ea6a33e4798924d","pattern":"ERROR: Could not build wheels for aiohttp, which is required to install pyproject.toml-based projects","full_message":"Python version: 3.11\n\nInstalling dependencies for an application by pip install -r requirements.txt gives the following error:\n\nsocket.c -o build/temp.linux-armv8l-cpython-311/aiohttp/_websocket.o\naiohttp/_websocket.c:198:12: fatal error: 'longintrepr.h' file not found\n#include \"longintrepr.h\"                                   \n          ^~~~~~~                        1 error generated.\nerror: command '/data/data/com.termux/files/usr/bin/arm-linux-androideabi-clang' \nfailed with exit code 1\n[end of output]\nnote: This error originates from a subprocess, and is likely not a problem with pip.\nERROR: Failed building wheel for aiohttp\nFailed to build aiohttp\nERROR: Could not build wheels for aiohttp, which is required to install\npyproject.toml-based projects\n\nThis error is specific to Python 3.11 version. On Python with 3.10.6 version installation goes fine.\n\nRelated question: yarl/_quoting.c:196:12: fatal error: 'longintrepr.h' file not found - 1 error generated","ecosystem":"pypi","package_name":"python-3.x","package_version":null,"solution":"Solution for this error: need to update requirements.txt.\n\nNot working versions of modules with Python 3.11:\n\naiohttp==3.8.1\nyarl==1.4.2\nfrozenlist==1.3.0\n\nWorking versions:\n\naiohttp==3.8.2\nyarl==1.8.1\nfrozenlist==1.3.1\n\nLinks to the corresponding issues with fixes:\n\nhttps://github.com/aio-libs/aiohttp/issues/6600\nhttps://github.com/aio-libs/yarl/issues/706\nhttps://github.com/aio-libs/frozenlist/issues/305","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/74550830/error-could-not-build-wheels-for-aiohttp-which-is-required-to-install-pyprojec","votes":30,"created_at":"2026-04-19T04:52:07.349655+00:00","updated_at":"2026-04-19T04:52:07.349655+00:00"}