Ara*_*d R 5 python nlp python-3.x spacy
大家好,我正在尝试安装 spacy model == 2.3.5 但我收到此错误,请帮助我!
我在执行时遇到了类似的错误,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
Run Code Online (Sandbox Code Playgroud)
以防万一我会在这里留下我的错误的解决方案。此错误特定于 Python3.11版本。在 Python 上,3.10.6版本安装顺利。
为了解决这个问题我需要更新requirements.txt。
Python 模块的不工作版本3.11:
aiohttp==3.8.1
yarl==1.4.2
frozenlist==1.3.0
Run Code Online (Sandbox Code Playgroud)
工作版本:
aiohttp==3.8.2
yarl==1.8.1
frozenlist==1.3.1
Run Code Online (Sandbox Code Playgroud)
已修复的相应问题的链接:
| 归档时间: |
|
| 查看次数: |
34690 次 |
| 最近记录: |