
嗨,伙计们,我正在尝试安装spacy型号的== 2.3.5,但是我得到了这个错误,请帮助我!
发布于 2022-03-17 14:11:17
试着使用:
!pip install spacy==2.3.5
没有在 ==和2.3.5之间留出空间
如果您在等号和版本之间给出任何空格,则可能会出现错误。
发布于 2022-11-23 00:52:28
我在执行pip install -r requirements.txt时也有类似的错误,但是对于aiohttp模块:
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.10.6版本的Python上,安装进行得很好。
为了解决这个问题,我需要更新requirements.txt。
不使用Python 3.11的模块版本
aiohttp==3.8.1
yarl==1.4.2
frozenlist==1.3.0工作版本:
aiohttp==3.8.2
yarl==1.8.1
frozenlist==1.3.1链接到相应的修复问题:
https://stackoverflow.com/questions/71512301
复制相似问题