我正试图安装一个有色谱的项目,但在安装所需经费时,除间谍外,所有图书馆都下载。
Requirement already satisfied: setuptools in e:ai-resume-analyzerappvenvapplibsite-packages (from spacy==2.3.5->-r requirements.txt (line 73)) (65.5.0)
Building wheels for collected packages: spacy
Building wheel for spacy (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for spacy (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [1118 lines of output]
.
.
.
Generating code
Finished generating code
building spacy.strings extension
"C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.36.32532inHostX86x64cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:UsersvatshAppDataLocalTemppip-build-env-ezxsrk4boverlayLibsite-packages
umpycoreinclude "-IC:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0include" -IC:UsersvatshAppDataLocalTemppip-install-8uacba_lspacy_c54e976fe0ff449bb1ffd83dee7fe8c0include -IE:AI-Resume-AnalyzerAppvenvappinclude "-IC:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0include" "-IC:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0Include" "-IC:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC14.36.32532include" "-IC:Program FilesMicrosoft Visual Studio2022CommunityVCAuxiliaryVSinclude" "-IC:Program Files (x86)Windows Kits10include10.0.22000.0ucrt" "-IC:Program Files (x86)Windows Kits10\include10.0.22000.0\um" "-IC:Program Files (x86)Windows Kits10\include10.0.22000.0\shared" "-IC:Program Files (x86)Windows Kits10\include10.0.22000.0\winrt" "-IC:Program Files (x86)Windows Kits10\include10.0.22000.0\cppwinrt" "-IC:Program Files (x86)Windows KitsNETFXSDK4.8includeum" /EHsc /Tpspacy/strings.cpp /Fobuild emp.win-amd64-cpython-310Releasespacy/strings.obj /Ox /EHsc
strings.cpp
spacy/strings.cpp(2153): warning C4244: argument : conversion from Py_ssize_t to int , possible loss of data
spacy/strings.cpp(2228): warning C4244: argument : conversion from Py_ssize_t to int , possible loss of data
spacy/strings.cpp(2769): warning C4244: = : conversion from long to unsigned char , possible loss of data
spacy/strings.cpp(3292): warning C4244: argument : conversion from Py_ssize_t to int , possible loss of data
spacy/strings.cpp(3863): warning C4244: argument : conversion from Py_ssize_t to int , possible loss of data
spacy/strings.cpp(3874): warning C4244: argument : conversion from Py_ssize_t to int , possible loss of data
spacy/strings.cpp(4265): warning C4244: argument : conversion from Py_ssize_t to int , possible loss of data
spacy/strings.cpp(4280): warning C4018: < : signed/unsigned mismatch
spacy/strings.cpp(5923): warning C4244: argument : conversion from Py_ssize_t to int , possible loss of data
spacy/strings.cpp(10123): error C3861: _PyGen_Send : identifier not found
spacy/strings.cpp(10128): error C3861: _PyGen_Send : identifier not found
spacy/strings.cpp(10212): error C3861: _PyGen_Send : identifier not found
error: command C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for spacy
Failed to build spacy
ERROR: Could not build wheels for spacy, which is required to install pyproject.toml-based projects
I was just installing the requirements but everytime this problem arises. Python version 3.9.13 I have cut the dialog because it only allows 30000 character.