You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to start the project via docker-compose, which downloaded me the current python 3.10 version. This has caused some issued during build.
#10 133.0 running build_ext
#10 133.0 building 'spacy.parts_of_speech' extension
#10 133.0 creating build/temp.linux-x86_64-3.10
#10 133.0 creating build/temp.linux-x86_64-3.10/spacy
#10 133.0 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tmp/pip-build-env-w0iqws3t/overlay/lib/python3.10/site-packages/numpy/core/include -I/usr/local/include/python3.10 -I/tmp/pip-install-bpv4_10g/spacy_6709c77e37d2427fb60a9297bb34f718/include -I/usr/local/include/python3.10 -c spacy/parts_of_speech.cpp -o build/temp.linux-x86_64-3.10/spacy/parts_of_speech.o -O2 -Wno-strict-prototypes -Wno-unused-function
#10 133.0 cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid for C/ObjC but not for C++
#10 133.0 g++ -pthread -shared build/temp.linux-x86_64-3.10/spacy/parts_of_speech.o -L/usr/local/lib -o build/lib.linux-x86_64-3.10/spacy/parts_of_speech.cpython-310-x86_64-linux-gnu.so
#10 133.0 building 'spacy.strings' extension
#10 133.0 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/tmp/pip-build-env-w0iqws3t/overlay/lib/python3.10/site-packages/numpy/core/include -I/usr/local/include/python3.10 -I/tmp/pip-install-bpv4_10g/spacy_6709c77e37d2427fb60a9297bb34f718/include -I/usr/local/include/python3.10 -c spacy/strings.cpp -o build/temp.linux-x86_64-3.10/spacy/strings.o -O2 -Wno-strict-prototypes -Wno-unused-function
#10 133.0 cc1plus: warning: command-line option ‘-Wno-strict-prototypes’ is valid for C/ObjC but not for C++
#10 133.0 spacy/strings.cpp: In function ‘int __pyx_pf_5spacy_7strings_11StringStore_12__contains__(__pyx_obj_5spacy_7strings_StringStore*, PyObject*)’:
#10 133.0 spacy/strings.cpp:4280:29: warning: comparison of integer expressions of different signedness: ‘__pyx_t_5spacy_8typedefs_hash_t’ {aka ‘long unsigned int’} and ‘Py_ssize_t’ {aka ‘long int’} [-Wsign-compare]
#10 133.0 4280 | __pyx_t_1 = ((__pyx_v_key < __pyx_t_6) != 0);
#10 133.0 | ~~~~~~~~~~~~^~~~~~~~~~~
#10 133.0 spacy/strings.cpp: In function ‘PyObject* __pyx_gb_5spacy_7strings_11StringStore_16generator(__pyx_CoroutineObject*, PyThreadState*, PyObject*)’:
#10 133.0 spacy/strings.cpp:4443:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
#10 133.0 4443 | for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) {
#10 133.0 | ~~~~~~~~~~^~~~~~~~~~~
#10 133.0 spacy/strings.cpp: In function ‘PyObject* __Pyx_Coroutine_Send(PyObject*, PyObject*)’:
#10 133.0 spacy/strings.cpp:10123:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
#10 133.0 10123 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
#10 133.0 | ^~~~~~~~~~~
#10 133.0 | _PyGen_yf
#10 133.0 spacy/strings.cpp:10128:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
#10 133.0 10128 | ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
#10 133.0 | ^~~~~~~~~~~
#10 133.0 | _PyGen_yf
#10 133.0 spacy/strings.cpp: In function ‘PyObject* __Pyx_Generator_Next(PyObject*)’:
#10 133.0 spacy/strings.cpp:10212:19: error: ‘_PyGen_Send’ was not declared in this scope; did you mean ‘_PyGen_yf’?
#10 133.0 10212 | ret = _PyGen_Send((PyGenObject*)yf, NULL);
#10 133.0 | ^~~~~~~~~~~
#10 133.0 | _PyGen_yf
#10 133.0 error: command '/usr/bin/gcc' failed with exit code 1
#10 133.0 ----------------------------------------
#10 133.0 ERROR: Failed building wheel for spacy
#10 133.0 Building wheel for docx2txt (setup.py): started
#10 133.3 Building wheel for docx2txt (setup.py): finished with status 'done'
#10 133.3 Created wheel for docx2txt: filename=docx2txt-0.8-py3-none-any.whl size=3980 sha256=c93dde0c8a74119652f77642208ea0338bec8a37e78b9ade60b641838938c475
#10 133.3 Stored in directory: /root/.cache/pip/wheels/22/58/cf/093d0a6c3ecfdfc5f6ddd5524043b88e59a9a199cb02352966
#10 133.3 Building wheel for pyrsistent (PEP 517): started
#10 134.3 Building wheel for pyrsistent (PEP 517): finished with status 'done'
#10 134.3 Created wheel for pyrsistent: filename=pyrsistent-0.18.0-cp310-cp310-linux_x86_64.whl size=115450 sha256=9d592650fe4462af4c30e3ce2867a25bd5adcce6f5605b6ede3105677bdaeeb9
#10 134.3 Stored in directory: /root/.cache/pip/wheels/bf/ee/17/b548a960bb9e20daf7987f316c326e8a368603809ace3b2374
#10 134.3 Successfully built docx2txt pyrsistent
#10 134.3 Failed to build spacy
#10 134.3 ERROR: Could not build wheels for spacy which use PEP 517 and cannot be installed directly
#10 134.3 WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
#10 134.3 You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
The text was updated successfully, but these errors were encountered:
imalik8088
added a commit
to imalik8088/ResumeParser
that referenced
this issue
Nov 18, 2021
I've tried to start the project via docker-compose, which downloaded me the current python 3.10 version. This has caused some issued during build.
The text was updated successfully, but these errors were encountered: