Open elenavolkova93 opened 2 years ago
I am running into the same problem using pip 22.3.1
, wheel 0.37.1
, python 3.9.16
on CentOS Linux release 7.9.2009 (Core)
.
I tried upgrading pip to pip 23.1.2
and now I get a different error:
pip install Hydra
Collecting Hydra
Using cached Hydra-2.5.tar.gz (82 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: Hydra
Building wheel for Hydra (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [55 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
copying src/hydra.py -> build/lib.linux-x86_64-cpython-39
running build_ext
building '_hydra' extension
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/src
gcc -pthread -B /home/HPC/lclissahpc/miniconda3/envs/sam/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/HPC/lclissahpc/miniconda3/envs/sam/include -I/home/HPC/lclissahpc/miniconda3/envs/sam/include -fPIC -O2 -isystem /home/HPC/lclissahpc/miniconda3/envs/sam/include -fPIC -I/tmp/pip-install-5gn9l9pk/hydra_15c7f60ab7c244719faf8e4c98f70c6e/src -I/home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9 -c src/MurmurHash3.c -o build/temp.linux-x86_64-cpython-39/src/MurmurHash3.o -std=gnu99 -O2 -D_LARGEFILE64_SOURCE
gcc -pthread -B /home/HPC/lclissahpc/miniconda3/envs/sam/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/HPC/lclissahpc/miniconda3/envs/sam/include -I/home/HPC/lclissahpc/miniconda3/envs/sam/include -fPIC -O2 -isystem /home/HPC/lclissahpc/miniconda3/envs/sam/include -fPIC -I/tmp/pip-install-5gn9l9pk/hydra_15c7f60ab7c244719faf8e4c98f70c6e/src -I/home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9 -c src/_hydra.c -o build/temp.linux-x86_64-cpython-39/src/_hydra.o -std=gnu99 -O2 -D_LARGEFILE64_SOURCE
src/_hydra.c: In function ‘__pyx_pf_6_hydra_8MMapIter_2__next__’:
src/_hydra.c:3377:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
__pyx_t_3 = ((__pyx_v_self->_idx < __pyx_t_2) != 0);
^
src/_hydra.c: In function ‘PyInit__hydra’:
src/_hydra.c:8530:34: error: ‘PyTypeObject’ has no member named ‘tp_print’
__pyx_type_6_hydra_MMapBitField.tp_print = 0;
^
src/_hydra.c:8535:30: error: ‘PyTypeObject’ has no member named ‘tp_print’
__pyx_type_6_hydra_MMapIter.tp_print = 0;
^
src/_hydra.c:8539:39: error: ‘PyTypeObject’ has no member named ‘tp_print’
__pyx_type_6_hydra_BloomCalculations.tp_print = 0;
^
src/_hydra.c:8551:33: error: ‘PyTypeObject’ has no member named ‘tp_print’
__pyx_type_6_hydra_BloomFilter.tp_print = 0;
^
src/_hydra.c: In function ‘__Pyx_ParseOptionalKeywords’:
src/_hydra.c:9924:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:446) [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
src/_hydra.c:9924:21: warning: ‘PyUnicode_AsUnicode’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:580) [-Wdeprecated-declarations]
src/_hydra.c:9924:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:446) [-Wdeprecated-declarations]
src/_hydra.c:9924:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:446) [-Wdeprecated-declarations]
src/_hydra.c:9924:21: warning: ‘PyUnicode_AsUnicode’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:580) [-Wdeprecated-declarations]
src/_hydra.c:9924:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:446) [-Wdeprecated-declarations]
src/_hydra.c:9940:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:446) [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
src/_hydra.c:9940:25: warning: ‘PyUnicode_AsUnicode’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:580) [-Wdeprecated-declarations]
src/_hydra.c:9940:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:446) [-Wdeprecated-declarations]
src/_hydra.c:9940:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:446) [-Wdeprecated-declarations]
src/_hydra.c:9940:25: warning: ‘PyUnicode_AsUnicode’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:580) [-Wdeprecated-declarations]
src/_hydra.c:9940:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/cpython/unicodeobject.h:446) [-Wdeprecated-declarations]
src/_hydra.c: In function ‘__Pyx_CyFunction_Call’:
src/_hydra.c:11521:2: warning: ‘PyCFunction_Call’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/methodobject.h:33) [-Wdeprecated-declarations]
return PyCFunction_Call(func, arg, kw);
^
src/_hydra.c: In function ‘__pyx_CyFunction_init’:
src/_hydra.c:11586:5: warning: ‘PyCFunction_Call’ is deprecated (declared at /home/HPC/lclissahpc/miniconda3/envs/sam/include/python3.9/methodobject.h:33) [-Wdeprecated-declarations]
__pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
^
error: command '/usr/bin/gcc' 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 Hydra
Running setup.py clean for Hydra
Failed to build Hydra
ERROR: Could not build wheels for Hydra, which is required to install pyproject.toml-based projects
Any idea?
Hi,
I'm running into
legacy-install-failure
on python3.9 Works fine in python3.8:but in a similar venv with python3.9 raises an error:
I'm using pip 22.0.4, wheel 0.37.1, Ubuntu 20.04.5.
The package hasn't been updated in a while: is it still supposed to be compatible with newer versions of Python? What are folks' plans wrt the maintenance of this repo?