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
se
copying cvxpy/atoms/elementwise/neg.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/kl_div.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/sqrt.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/scalene.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/log1p.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/log.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/logistic.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/xexp.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/exp.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/loggamma.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/ceil.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/elementwise.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/pos.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/maximum.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/minimum.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/rel_entr.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/inv_pos.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/log_normcdf.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/abs.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/square.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/init.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/power.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/huber.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/entr.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/py.typed -> build/lib.linux-x86_64-cpython-313/cvxpy
running build_ext
building '_cvxcore' extension
creating build/temp.linux-x86_64-cpython-313/cvxpy/cvxcore/python
creating build/temp.linux-x86_64-cpython-313/cvxpy/cvxcore/src
g++ -pthread -B /home/k2z/miniconda3/envs/ketan/compiler_compat -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/k2z/miniconda3/envs/ketan/include -fPIC -O2 -isystem /home/k2z/miniconda3/envs/ketan/include -fPIC -Icvxpy/cvxcore/src/ -Icvxpy/cvxcore/python/ -Icvxpy/cvxcore/include/ -I/home/k2z/miniconda3/envs/ketan/include/python3.13 -I/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include -c cvxpy/cvxcore/python/cvxcore_wrap.cxx -o build/temp.linux-x86_64-cpython-313/cvxpy/cvxcore/python/cvxcore_wrap.o -fvisibility=hidden -g0 -O3 -std=c++11 -Wall -pedantic -Wextra -Wno-unused-parameter
In file included from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from cvxpy/cvxcore/python/cvxcore_wrap.cxx:3179:
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning is a GCC extension
17 | #warning "Using deprecated NumPy API, disable it with "
| ^~~~~~~
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyTypeObject* swig_varlink_type()’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:1454:5: warning: missing initializer for member ‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
1454 | };
| ^
cvxpy/cvxcore/python/cvxcore_wrap.cxx:1454:5: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyTypeObject* SwigPyObject_TypeOnce()’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2048:5: warning: missing initializer for member ‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
2048 | };
| ^
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2048:5: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyTypeObject* SwigPyPacked_TypeOnce()’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2228:5: warning: missing initializer for member ‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
2228 | };
| ^
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2228:5: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyArrayObject* obj_to_array_no_conversion(PyObject*, int)’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3788:62: error: cannot convert ‘PyObject*’ {aka ‘_object*’} to ‘const PyArrayObject*’ {aka ‘const tagPyArrayObject_fields*’}
3788 | PyArray_EquivTypenums(array_type(input), typecode)))
| ^~~~~
| |
| PyObject* {aka _object*}
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3725:51: note: in definition of macro ‘array_type’
3725 | #define array_type(a) (int)(PyArray_TYPE(a))
| ^
In file included from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from cvxpy/cvxcore/python/cvxcore_wrap.cxx:3179:
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1567:35: note: initializing argument 1 of ‘int PyArray_TYPE(const PyArrayObject*)’
1567 | PyArray_TYPE(const PyArrayObject arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3795:61: error: cannot convert ‘PyObject’ {aka ‘_object*’} to ‘const PyArrayObject*’ {aka ‘const tagPyArrayObject_fields*’}
3795 | const char* actual_type = typecode_string(array_type(input));
| ^~~~~
| |
| PyObject* {aka _object*}
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3725:51: note: in definition of macro ‘array_type’
3725 | #define array_type(a) (int)(PyArray_TYPE(a))
| ^
In file included from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from cvxpy/cvxcore/python/cvxcore_wrap.cxx:3179:
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1567:35: note: initializing argument 1 of ‘int PyArray_TYPE(const PyArrayObject*)’
1567 | PyArray_TYPE(const PyArrayObject arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyArrayObject obj_to_array_allow_conversion(PyObject*, int, int*)’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3824:62: error: cannot convert ‘PyObject*’ {aka ‘_object*’} to ‘const PyArrayObject*’ {aka ‘const tagPyArrayObject_fields*’}
3824 | PyArray_EquivTypenums(array_type(input),typecode)))
| ^~~~~
| |
| PyObject* {aka _object*}
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3725:51: note: in definition of macro ‘array_type’
3725 | #define array_type(a) (int)(PyArray_TYPE(a))
| ^
In file included from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from cvxpy/cvxcore/python/cvxcore_wrap.cxx:3179:
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1567:35: note: initializing argument 1 of ‘int PyArray_TYPE(const PyArrayObject*)’
1567 | PyArray_TYPE(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
error: command '/usr/bin/g++' 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 cvxpy
Failed to build cvxpy
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cvxpy)
The text was updated successfully, but these errors were encountered:
se
copying cvxpy/atoms/elementwise/neg.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/kl_div.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/sqrt.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/scalene.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/log1p.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/log.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/logistic.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/xexp.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/exp.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/loggamma.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/ceil.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/elementwise.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/pos.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/maximum.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/minimum.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/rel_entr.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/inv_pos.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/log_normcdf.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/abs.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/square.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/init.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/power.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/huber.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/atoms/elementwise/entr.py -> build/lib.linux-x86_64-cpython-313/cvxpy/atoms/elementwise
copying cvxpy/py.typed -> build/lib.linux-x86_64-cpython-313/cvxpy
running build_ext
building '_cvxcore' extension
creating build/temp.linux-x86_64-cpython-313/cvxpy/cvxcore/python
creating build/temp.linux-x86_64-cpython-313/cvxpy/cvxcore/src
g++ -pthread -B /home/k2z/miniconda3/envs/ketan/compiler_compat -fno-strict-overflow -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/k2z/miniconda3/envs/ketan/include -fPIC -O2 -isystem /home/k2z/miniconda3/envs/ketan/include -fPIC -Icvxpy/cvxcore/src/ -Icvxpy/cvxcore/python/ -Icvxpy/cvxcore/include/ -I/home/k2z/miniconda3/envs/ketan/include/python3.13 -I/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include -c cvxpy/cvxcore/python/cvxcore_wrap.cxx -o build/temp.linux-x86_64-cpython-313/cvxpy/cvxcore/python/cvxcore_wrap.o -fvisibility=hidden -g0 -O3 -std=c++11 -Wall -pedantic -Wextra -Wno-unused-parameter
In file included from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1913,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from cvxpy/cvxcore/python/cvxcore_wrap.cxx:3179:
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning is a GCC extension
17 | #warning "Using deprecated NumPy API, disable it with "
| ^~~~~~~
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyTypeObject* swig_varlink_type()’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:1454:5: warning: missing initializer for member ‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
1454 | };
| ^
cvxpy/cvxcore/python/cvxcore_wrap.cxx:1454:5: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyTypeObject* SwigPyObject_TypeOnce()’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2048:5: warning: missing initializer for member ‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
2048 | };
| ^
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2048:5: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyTypeObject* SwigPyPacked_TypeOnce()’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2228:5: warning: missing initializer for member ‘_typeobject::tp_watched’ [-Wmissing-field-initializers]
2228 | };
| ^
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2228:5: warning: missing initializer for member ‘_typeobject::tp_versions_used’ [-Wmissing-field-initializers]
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyArrayObject* obj_to_array_no_conversion(PyObject*, int)’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3788:62: error: cannot convert ‘PyObject*’ {aka ‘_object*’} to ‘const PyArrayObject*’ {aka ‘const tagPyArrayObject_fields*’}
3788 | PyArray_EquivTypenums(array_type(input), typecode)))
| ^~~~~
| |
| PyObject* {aka _object*}
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3725:51: note: in definition of macro ‘array_type’
3725 | #define array_type(a) (int)(PyArray_TYPE(a))
| ^
In file included from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from cvxpy/cvxcore/python/cvxcore_wrap.cxx:3179:
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1567:35: note: initializing argument 1 of ‘int PyArray_TYPE(const PyArrayObject*)’
1567 | PyArray_TYPE(const PyArrayObject arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3795:61: error: cannot convert ‘PyObject’ {aka ‘_object*’} to ‘const PyArrayObject*’ {aka ‘const tagPyArrayObject_fields*’}
3795 | const char* actual_type = typecode_string(array_type(input));
| ^~~~~
| |
| PyObject* {aka _object*}
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3725:51: note: in definition of macro ‘array_type’
3725 | #define array_type(a) (int)(PyArray_TYPE(a))
| ^
In file included from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from cvxpy/cvxcore/python/cvxcore_wrap.cxx:3179:
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1567:35: note: initializing argument 1 of ‘int PyArray_TYPE(const PyArrayObject*)’
1567 | PyArray_TYPE(const PyArrayObject arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
cvxpy/cvxcore/python/cvxcore_wrap.cxx: In function ‘PyArrayObject obj_to_array_allow_conversion(PyObject*, int, int*)’:
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3824:62: error: cannot convert ‘PyObject*’ {aka ‘_object*’} to ‘const PyArrayObject*’ {aka ‘const tagPyArrayObject_fields*’}
3824 | PyArray_EquivTypenums(array_type(input),typecode)))
| ^~~~~
| |
| PyObject* {aka _object*}
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3725:51: note: in definition of macro ‘array_type’
3725 | #define array_type(a) (int)(PyArray_TYPE(a))
| ^
In file included from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
from /tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
from cvxpy/cvxcore/python/cvxcore_wrap.cxx:3179:
/tmp/pip-build-env-v5e6ewta/overlay/lib/python3.13/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1567:35: note: initializing argument 1 of ‘int PyArray_TYPE(const PyArrayObject*)’
1567 | PyArray_TYPE(const PyArrayObject *arr)
| ~~~~~~~~~~~~~~~~~~~~~^~~
error: command '/usr/bin/g++' 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 cvxpy
Failed to build cvxpy
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cvxpy)
The text was updated successfully, but these errors were encountered: