Python版本:3.11
通过"pip install -r requirements.txt"安装应用程序的依赖项时出现以下错误:
这个错误只出现在 Python 3.11 版本中。在 Python 3.10.6 版本中安装是正常的。
相关问题:yarl/_quoting.c:196:12: fatal error: 'longintrepr.h' file not found - 1 error generated。
通过"pip install -r requirements.txt"安装应用程序的依赖项时出现以下错误:
socket.c -o build/temp.linux-armv8l-cpython-311/aiohttp/_websocket.o
aiohttp/_websocket.c:198:12: fatal error: 'longintrepr.h' file not found
#include "longintrepr.h"
^~~~~~~ 1 error generated.
error: command '/data/data/com.termux/files/usr/bin/arm-linux-androideabi-clang'
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
这个错误只出现在 Python 3.11 版本中。在 Python 3.10.6 版本中安装是正常的。
相关问题:yarl/_quoting.c:196:12: fatal error: 'longintrepr.h' file not found - 1 error generated。
3.12
版本...https://stackoverflow.com/questions/77388920/warning-c4996-py-optimizeflag-deprecated-in-3-12-aiohttp-websocket-c3042 - undefined