hyvr
hyvr copied to clipboard
Problems installing the package
Hi!! I encoutered the following problem installing the package from pip and from source: I am trying this on Linux but I had a similar problem with Windows
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: legacy-install-failure
× Encountered error while trying to install package.
╰─> hyvr
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I guess this is related to tring to install the c++ compiler or check if it is installed in the system. Any idea on how to fix this?
I can try to look it up later,
Thank you for the support!
Hi, can you post the complete output of pip?
Sure!
Thanks a lot!
pip install hyvr
Collecting hyvr
Downloading hyvr-1.1.0.tar.gz (1.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 8.4 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in /home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages (from hyvr) (1.23.5)
Requirement already satisfied: scipy in /home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages (from hyvr) (1.9.3)
Building wheels for collected packages: hyvr
Building wheel for hyvr (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [216 lines of output]
/home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/__main__.py -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/utils.py -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/sim.py -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/__init__.py -> build/lib.linux-x86_64-cpython-310/hyvr
creating build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/parameters.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/options_deprecated.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/options.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/__init__.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/option_parsing.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
creating build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/ae_types.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/stratum.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/model.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/contact_surface_utils.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough_utils.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/__init__.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel_utils.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
creating build/lib.linux-x86_64-cpython-310/hyvr/postprocess
copying hyvr/postprocess/plotting.py -> build/lib.linux-x86_64-cpython-310/hyvr/postprocess
copying hyvr/postprocess/output.py -> build/lib.linux-x86_64-cpython-310/hyvr/postprocess
copying hyvr/postprocess/__init__.py -> build/lib.linux-x86_64-cpython-310/hyvr/postprocess
copying hyvr/optimized.c -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/assign_points.c -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/assign_points.pyx -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/optimized.pyx -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/optimized.pxd -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/made.ini -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/geo/trough_ae.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/ae_realization.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel_ae.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/grid.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/contact_surface.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet_ae.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/ae_realization.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/contact_surface.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough_ae.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet_ae.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/grid.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel_ae.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough_ae.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet_ae.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/grid.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/contact_surface.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/ae_realization.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel_ae.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
running build_ext
building 'hyvr.optimized' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/tmp
creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-p3pt8q3_
creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1
creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr
gcc -pthread -B /home/vcant/miniconda3/envs/hyvr-env/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/vcant/miniconda3/envs/hyvr-env/include -fPIC -O2 -isystem /home/vcant/miniconda3/envs/hyvr-env/include -fPIC -I/home/vcant/miniconda3/envs/hyvr-env/include/python3.10 -I/home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/numpy/core/include -c /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c -o build/temp.linux-x86_64-cpython-310/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.o
In file included from /home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948,
from /home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:611:
/home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/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]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__pyx_tp_dealloc_array’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19284:5: error: lvalue required as increment operand
19284 | ++Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19286:5: error: lvalue required as decrement operand
19286 | --Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__pyx_tp_dealloc_memoryview’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19595:5: error: lvalue required as increment operand
19595 | ++Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19597:5: error: lvalue required as decrement operand
19597 | --Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__pyx_tp_dealloc__memoryviewslice’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19845:5: error: lvalue required as increment operand
19845 | ++Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19847:5: error: lvalue required as decrement operand
19847 | --Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__Pyx_ParseOptionalKeywords’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__Pyx_decode_c_string’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:23006:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
23006 | return PyUnicode_FromUnicode(NULL, 0);
| ^~~~~~
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
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 hyvr
Running setup.py clean for hyvr
Failed to build hyvr
Installing collected packages: hyvr
Running setup.py install for hyvr ... error
error: subprocess-exited-with-error
× Running setup.py install for hyvr did not run successfully.
│ exit code: 1
╰─> [218 lines of output]
/home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running install
/home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/__main__.py -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/utils.py -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/sim.py -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/__init__.py -> build/lib.linux-x86_64-cpython-310/hyvr
creating build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/parameters.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/options_deprecated.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/options.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/__init__.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
copying hyvr/input/option_parsing.py -> build/lib.linux-x86_64-cpython-310/hyvr/input
creating build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/ae_types.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/stratum.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/model.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/contact_surface_utils.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough_utils.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/__init__.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel_utils.py -> build/lib.linux-x86_64-cpython-310/hyvr/geo
creating build/lib.linux-x86_64-cpython-310/hyvr/postprocess
copying hyvr/postprocess/plotting.py -> build/lib.linux-x86_64-cpython-310/hyvr/postprocess
copying hyvr/postprocess/output.py -> build/lib.linux-x86_64-cpython-310/hyvr/postprocess
copying hyvr/postprocess/__init__.py -> build/lib.linux-x86_64-cpython-310/hyvr/postprocess
copying hyvr/optimized.c -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/assign_points.c -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/assign_points.pyx -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/optimized.pyx -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/optimized.pxd -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/made.ini -> build/lib.linux-x86_64-cpython-310/hyvr
copying hyvr/geo/trough_ae.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/ae_realization.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel_ae.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/grid.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/contact_surface.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet_ae.c -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/ae_realization.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/contact_surface.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough_ae.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet_ae.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/grid.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel_ae.pyx -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/trough_ae.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/sheet_ae.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/grid.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/contact_surface.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/ae_realization.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
copying hyvr/geo/channel_ae.pxd -> build/lib.linux-x86_64-cpython-310/hyvr/geo
running build_ext
building 'hyvr.optimized' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/tmp
creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-p3pt8q3_
creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1
creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr
gcc -pthread -B /home/vcant/miniconda3/envs/hyvr-env/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/vcant/miniconda3/envs/hyvr-env/include -fPIC -O2 -isystem /home/vcant/miniconda3/envs/hyvr-env/include -fPIC -I/home/vcant/miniconda3/envs/hyvr-env/include/python3.10 -I/home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/numpy/core/include -c /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c -o build/temp.linux-x86_64-cpython-310/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.o
In file included from /home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948,
from /home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h:5,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:611:
/home/vcant/miniconda3/envs/hyvr-env/lib/python3.10/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]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__pyx_tp_dealloc_array’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19284:5: error: lvalue required as increment operand
19284 | ++Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19286:5: error: lvalue required as decrement operand
19286 | --Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__pyx_tp_dealloc_memoryview’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19595:5: error: lvalue required as increment operand
19595 | ++Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19597:5: error: lvalue required as decrement operand
19597 | --Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__pyx_tp_dealloc__memoryviewslice’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19845:5: error: lvalue required as increment operand
19845 | ++Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:19847:5: error: lvalue required as decrement operand
19847 | --Py_REFCNT(o);
| ^~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__Pyx_ParseOptionalKeywords’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21807:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21807 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:21823:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
21823 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
| ^
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c: In function ‘__Pyx_decode_c_string’:
/tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:23006:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
23006 | return PyUnicode_FromUnicode(NULL, 0);
| ^~~~~~
In file included from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/unicodeobject.h:1046,
from /home/vcant/miniconda3/envs/hyvr-env/include/python3.10/Python.h:83,
from /tmp/pip-install-p3pt8q3_/hyvr_15558d965bfa4527bab6766c26e987a1/hyvr/optimized.c:17:
/home/vcant/miniconda3/envs/hyvr-env/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
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: legacy-install-failure
× Encountered error while trying to install package.
╰─> hyvr
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Can you try to downgrade to python version 3.9?
Sorry for the late response @s-scherrer. I have downgraded but I still have the issue, I believe I should also downgrade other packages as well, but I am not sure which. Do you have a working environment setup I can test?
Thank you!
Hi!!
I managed to remove the cython dependency and make it to efficiently work with just numpy. If it is of interest to the project, I have a working fork here:
https://github.com/vcantarella/hyvr-no-cython.git
Hi Vitor, sorry, I totally forgot to reply. Thank you, I will merge your changes to the master branch of hyvr. I also linked your repository in the README as the most up to date fork.
Sorry, I had problems with the pushing, so the latest version was missing. Now things should be fine. you should merge again, sorry.
Do the tests run on your machine? They don't work for me.