-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Tried to install mortar on both mac and linux and got exactly the same error. Before installation changed username and password. This output is from linux manjaro.
> [jupyter-notebook 3/11] RUN python -m pip install --ignore-installed -r requirements.txt:
0.747 WARNING: The directory '/home/jovyan/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
0.961 Collecting pymortar>=2.0.8 (from -r requirements.txt (line 1))
1.051 Downloading pymortar-2.0.8-py3-none-any.whl (10 kB)
1.115 Collecting plotly (from -r requirements.txt (line 2))
1.115 Obtaining dependency information for plotly from https://files.pythonhosted.org/packages/a5/07/5bef9376c975ce23306d9217ab69ca94c07f2a3c90b17c03e3ae4db87170/plotly-5.15.0-py2.py3-none-any.whl.metadata
72.33 creating build/temp.linux-x86_64-3.11/numpy/core/src/umath
72.33 creating build/temp.linux-x86_64-3.11/build/src.linux-x86_64-3.11/numpy/core/src/umath
72.33 creating build/temp.linux-x86_64-3.11/build/src.linux-x86_64-3.11/numpy/core/src/common
72.33 compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -Ibuild/src.linux-x86_64-3.11/numpy/core/src/umath -Ibuild/src.linux-x86_64-3.11/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.11/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-x86_64-3.11/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/opt/conda/include/python3.11 -Ibuild/src.linux-x86_64-3.11/numpy/core/src/common -Ibuild/src.linux-x86_64-3.11/numpy/core/src/npymath -c'
72.33 gcc: numpy/core/src/multiarray/alloc.c
72.33 gcc: numpy/core/src/multiarray/array_assign_scalar.c
72.33 gcc: numpy/core/src/multiarray/buffer.c
72.33 gcc: numpy/core/src/multiarray/common.c
72.33 gcc: numpy/core/src/multiarray/conversion_utils.c
72.33 gcc: numpy/core/src/multiarray/descriptor.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/multiarray/einsum.c
72.33 gcc: numpy/core/src/multiarray/datetime_strings.c
72.33 gcc: numpy/core/src/multiarray/arrayobject.c
72.33 gcc: numpy/core/src/multiarray/array_assign_array.c
72.33 gcc: numpy/core/src/multiarray/ctors.c
72.33 gcc: numpy/core/src/multiarray/convert.c
72.33 gcc: numpy/core/src/multiarray/calculation.c
72.33 gcc: numpy/core/src/multiarray/datetime_busday.c
72.33 gcc: numpy/core/src/multiarray/arrayfunction_override.c
72.33 gcc: numpy/core/src/multiarray/convert_datatype.c
72.33 gcc: numpy/core/src/multiarray/hashdescr.c
72.33 gcc: numpy/core/src/multiarray/compiled_base.c
72.33 gcc: numpy/core/src/multiarray/datetime_busdaycal.c
72.33 gcc: numpy/core/src/multiarray/item_selection.c
72.33 gcc: numpy/core/src/multiarray/dragon4.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/multiarray/arraytypes.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/multiarray/lowlevel_strided_loops.c
72.33 gcc: numpy/core/src/multiarray/multiarraymodule.c
72.33 gcc: numpy/core/src/multiarray/datetime.c
72.33 gcc: numpy/core/src/multiarray/dtype_transfer.c
72.33 gcc: numpy/core/src/multiarray/nditer_constr.c
72.33 gcc: numpy/core/src/multiarray/iterators.c
72.33 gcc: numpy/core/src/multiarray/refcount.c
72.33 gcc: numpy/core/src/multiarray/scalarapi.c
72.33 gcc: numpy/core/src/multiarray/sequence.c
72.33 numpy/core/src/multiarray/scalarapi.c: In function ‘PyArray_Scalar’:
72.33 numpy/core/src/multiarray/scalarapi.c:759:13: warning: ‘ob_shash’ is deprecated [-Wdeprecated-declarations]
72.33 759 | ((PyStringObject *)obj)->ob_shash = -1;
72.33 | ^
72.33 In file included from /opt/conda/include/python3.11/bytesobject.h:62,
72.33 from /opt/conda/include/python3.11/Python.h:50,
72.33 from numpy/core/src/multiarray/scalarapi.c:2:
72.33 /opt/conda/include/python3.11/cpython/bytesobject.h:7:35: note: declared here
72.33 7 | Py_DEPRECATED(3.11) Py_hash_t ob_shash;
72.33 | ^~~~~~~~
72.33 gcc: numpy/core/src/multiarray/nditer_pywrap.c
72.33 gcc: numpy/core/src/multiarray/shape.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/multiarray/scalartypes.c
72.33 gcc: numpy/core/src/multiarray/temp_elide.c
72.33 numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
72.33 numpy/core/src/multiarray/scalartypes.c.src:2967:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
72.33 2967 | return _Py_HashDouble((double) PyArrayScalar_VAL(obj, @name@));
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src:2967:12: error: too few arguments to function ‘_Py_HashDouble’
72.33 2967 | return _Py_HashDouble((double) PyArrayScalar_VAL(obj, @name@));
72.33 | ^~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:23: note: declared here
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src: In function ‘cfloat_arrtype_hash’:
72.33 numpy/core/src/multiarray/scalartypes.c.src:2975:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
72.33 2975 | hashreal = _Py_HashDouble((double)
72.33 | ^~~~~~~~
72.33 | |
72.33 | double
72.33 2976 | PyArrayScalar_VAL(obj, C@name@).real);
72.33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src:2975:16: error: too few arguments to function ‘_Py_HashDouble’
72.33 2975 | hashreal = _Py_HashDouble((double)
72.33 | ^~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:23: note: declared here
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src:2981:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
72.33 2981 | hashimag = _Py_HashDouble((double)
72.33 | ^~~~~~~~
72.33 | |
72.33 | double
72.33 2982 | PyArrayScalar_VAL(obj, C@name@).imag);
72.33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src:2981:16: error: too few arguments to function ‘_Py_HashDouble’
72.33 2981 | hashimag = _Py_HashDouble((double)
72.33 | ^~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:23: note: declared here
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
72.33 numpy/core/src/multiarray/scalartypes.c.src:2967:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
72.33 2967 | return _Py_HashDouble((double) PyArrayScalar_VAL(obj, @name@));
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src:2967:12: error: too few arguments to function ‘_Py_HashDouble’
72.33 2967 | return _Py_HashDouble((double) PyArrayScalar_VAL(obj, @name@));
72.33 | ^~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:23: note: declared here
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src: In function ‘clongdouble_arrtype_hash’:
72.33 numpy/core/src/multiarray/scalartypes.c.src:2975:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
72.33 2975 | hashreal = _Py_HashDouble((double)
72.33 | ^~~~~~~~
72.33 | |
72.33 | double
72.33 2976 | PyArrayScalar_VAL(obj, C@name@).real);
72.33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src:2975:16: error: too few arguments to function ‘_Py_HashDouble’
72.33 2975 | hashreal = _Py_HashDouble((double)
72.33 | ^~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:23: note: declared here
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src:2981:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
72.33 2981 | hashimag = _Py_HashDouble((double)
72.33 | ^~~~~~~~
72.33 | |
72.33 | double
72.33 2982 | PyArrayScalar_VAL(obj, C@name@).imag);
72.33 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src:2981:16: error: too few arguments to function ‘_Py_HashDouble’
72.33 2981 | hashimag = _Py_HashDouble((double)
72.33 | ^~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:23: note: declared here
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
72.33 numpy/core/src/multiarray/scalartypes.c.src:2997:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
72.33 2997 | return _Py_HashDouble(npy_half_to_double(PyArrayScalar_VAL(obj, Half)));
72.33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72.33 | |
72.33 | double
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src:2997:12: error: too few arguments to function ‘_Py_HashDouble’
72.33 2997 | return _Py_HashDouble(npy_half_to_double(PyArrayScalar_VAL(obj, Half)));
72.33 | ^~~~~~~~~~~~~~
72.33 In file included from /opt/conda/include/python3.11/Python.h:47,
72.33 from numpy/core/src/multiarray/scalartypes.c.src:3:
72.33 /opt/conda/include/python3.11/pyhash.h:10:23: note: declared here
72.33 10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
72.33 | ^~~~~~~~~~~~~~
72.33 numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
72.33 numpy/core/src/multiarray/scalartypes.c.src:2968:1: warning: control reaches end of non-void function [-Wreturn-type]
72.33 2968 | }
72.33 | ^
72.33 numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
72.33 numpy/core/src/multiarray/scalartypes.c.src:2968:1: warning: control reaches end of non-void function [-Wreturn-type]
72.33 2968 | }
72.33 | ^
72.33 numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
72.33 numpy/core/src/multiarray/scalartypes.c.src:2998:1: warning: control reaches end of non-void function [-Wreturn-type]
72.33 2998 | }
72.33 | ^
72.33 gcc: numpy/core/src/multiarray/vdot.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/umath/loops.c
72.33 gcc: numpy/core/src/multiarray/typeinfo.c
72.33 gcc: numpy/core/src/umath/umathmodule.c
72.33 gcc: numpy/core/src/multiarray/number.c
72.33 gcc: numpy/core/src/multiarray/usertypes.c
72.33 gcc: numpy/core/src/umath/reduction.c
72.33 gcc: numpy/core/src/umath/ufunc_object.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/multiarray/nditer_templ.c
72.33 gcc: numpy/core/src/multiarray/flagsobject.c
72.33 gcc: numpy/core/src/umath/ufunc_type_resolution.c
72.33 gcc: numpy/core/src/multiarray/getset.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/npymath/ieee754.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/npymath/npy_math_complex.c
72.33 gcc: numpy/core/src/umath/override.c
72.33 gcc: numpy/core/src/common/array_assign.c
72.33 gcc: numpy/core/src/npymath/halffloat.c
72.33 gcc: numpy/core/src/multiarray/nditer_api.c
72.33 gcc: numpy/core/src/common/mem_overlap.c
72.33 gcc: numpy/core/src/npymath/npy_math.c
72.33 gcc: numpy/core/src/common/ucsnarrow.c
72.33 gcc: numpy/core/src/common/ufunc_override.c
72.33 gcc: numpy/core/src/common/npy_longdouble.c
72.33 gcc: numpy/core/src/common/numpyos.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/common/npy_cpu_features.c
72.33 gcc: numpy/core/src/common/cblasfuncs.c
72.33 gcc: numpy/core/src/umath/extobj.c
72.33 gcc: numpy/core/src/common/python_xerbla.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/umath/scalarmath.c
72.33 gcc: numpy/core/src/multiarray/mapping.c
72.33 gcc: numpy/core/src/multiarray/methods.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/umath/matmul.c
72.33 gcc: build/src.linux-x86_64-3.11/numpy/core/src/umath/clip.c
72.33 error: Command "gcc -pthread -B /opt/conda/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -DHAVE_CBLAS -Ibuild/src.linux-x86_64-3.11/numpy/core/src/umath -Ibuild/src.linux-x86_64-3.11/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.11/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-x86_64-3.11/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/opt/conda/include/python3.11 -Ibuild/src.linux-x86_64-3.11/numpy/core/src/common -Ibuild/src.linux-x86_64-3.11/numpy/core/src/npymath -c build/src.linux-x86_64-3.11/numpy/core/src/multiarray/scalartypes.c -o build/temp.linux-x86_64-3.11/build/src.linux-x86_64-3.11/numpy/core/src/multiarray/scalartypes.o -MMD -MF build/temp.linux-x86_64-3.11/build/src.linux-x86_64-3.11/numpy/core/src/multiarray/scalartypes.o.d" failed with exit status 1
72.33 [end of output]
72.33
72.33 note: This error originates from a subprocess, and is likely not a problem with pip.
72.33 ERROR: Failed building wheel for numpy
72.33 Failed to build numpy
72.33 ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
72.33 [end of output]
72.33
72.33 note: This error originates from a subprocess, and is likely not a problem with pip.
72.34 error: subprocess-exited-with-error
72.34
72.34 × pip subprocess to install build dependencies did not run successfully.
72.34 │ exit code: 1
72.34 ╰─> See above for output.
72.34
72.34 note: This error originates from a subprocess, and is likely not a problem with pip.
------
failed to solve: process "/bin/bash -o pipefail -c python -m pip install --ignore-installed -r requirements.txt" did not complete successfully: exit code: 1
Metadata
Metadata
Assignees
Labels
No labels