...
| ^~~~~~~~
| |
| double
3320 | (((PyC@name@ScalarObject *)obj)->obval).real);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3319:16: error: too few arguments to function ‘_Py_HashDouble’
3319 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3325:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3325 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3326 | (((PyC@name@ScalarObject *)obj)->obval).imag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3325:16: error: too few arguments to function ‘_Py_HashDouble’
3325 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3341:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3341 | return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3341:12: error: too few arguments to function ‘_Py_HashDouble’
3341 | return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3312:1: warning: control reaches end of non-void function [-Wreturn-type]
3312 | }
| ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3312:1: warning: control reaches end of non-void function [-Wreturn-type]
3312 | }
| ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3342:1: warning: control reaches end of non-void function [-Wreturn-type]
3342 | }
| ^
gcc: numpy/core/src/multiarray/vdot.c
gcc: numpy/core/src/multiarray/usertypes.c
gcc: numpy/core/src/umath/umathmodule.c
gcc: build/src.linux-x86_64-3.1/numpy/core/src/umath/loops.c
gcc: numpy/core/src/umath/ufunc_object.c
gcc: numpy/core/src/umath/reduction.c
gcc: numpy/core/src/multiarray/number.c
gcc: build/src.linux-x86_64-3.1/numpy/core/src/multiarray/nditer_templ.c
gcc: build/src.linux-x86_64-3.1/numpy/core/src/umath/scalarmath.c
numpy/core/src/umath/loops.c.src: In function ‘PyUFunc_On_Om’:
numpy/core/src/umath/loops.c.src:506:9: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
506 | result = PyEval_CallObject(tocall, arglist);
| ^~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:130,
from numpy/core/src/umath/loops.c.src:7:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/ceval.h:17:43: note: declared here
17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc: numpy/core/src/multiarray/flagsobject.c
gcc: numpy/core/src/npymath/npy_math.c
gcc: numpy/core/src/multiarray/getset.c
gcc: numpy/core/src/multiarray/nditer_api.c
gcc: build/src.linux-x86_64-3.1/numpy/core/src/npymath/ieee754.c
gcc: numpy/core/src/npymath/halffloat.c
gcc: build/src.linux-x86_64-3.1/numpy/core/src/npymath/npy_math_complex.c
gcc: numpy/core/src/common/array_assign.c
gcc: numpy/core/src/common/npy_longdouble.c
gcc: numpy/core/src/common/mem_overlap.c
gcc: numpy/core/src/umath/extobj.c
gcc: numpy/core/src/common/ucsnarrow.c
numpy/core/src/common/ucsnarrow.c: In function ‘PyUnicode_FromUCS4’:
numpy/core/src/common/ucsnarrow.c:139:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
139 | ret = (PyUnicodeObject *)PyUnicode_FromUnicode((Py_UNICODE*)buf,
| ^~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/common/ucsnarrow.c:4:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
gcc: numpy/core/src/common/ufunc_override.c
gcc: numpy/core/src/umath/cpuid.c
gcc: numpy/core/src/common/numpyos.c
gcc: numpy/core/src/umath/ufunc_type_resolution.c
gcc: numpy/core/src/umath/override.c
gcc: numpy/core/src/multiarray/mapping.c
gcc: numpy/core/src/multiarray/methods.c
gcc: build/src.linux-x86_64-3.1/numpy/core/src/umath/matmul.c
gcc: build/src.linux-x86_64-3.1/numpy/core/src/umath/clip.c
error: Command "gcc -pthread -B /home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/umath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-x86_64-3.1/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/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -c build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.c -o build/temp.linux-x86_64-cpython-310/build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.o -MMD -MF build/temp.linux-x86_64-cpython-310/build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.o.d" failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
error: subprocess-exited-with-error
× python setup.py clean did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Running from numpy source directory.
`setup.py clean` is not supported, use one of the following instead:
- `git clean -xdf` (cleans all files)
- `git clean -Xdf` (cleans all versioned files, doesn't touch
files that aren't checked into the git repo)
Add `--force` to your command to use it anyway if you must (unsupported).
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for numpy
Failed to build numpy
Installing collected packages: wheel, setuptools, numpy, Cython, scipy
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for numpy did not run successfully.
│ exit code: 1
╰─> [664 lines of output]
Running from numpy source directory.
Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:
- `pip install .` (from a git repo or downloaded source
release)
- `pip install numpy` (last NumPy release on PyPi)
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
blis_info:
customize UnixCCompiler
libraries blis not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
openblas_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries tatlas not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_3_10_blas_info:
customize UnixCCompiler
libraries satlas not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_blas_info:
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
/tmp/pip-install-evxpallc/numpy_48025521c4d7462ba49749eed0f7f407/numpy/distutils/system_info.py:690: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
self.calc_info()
blas_info:
customize UnixCCompiler
libraries blas not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/tmp/pip-install-evxpallc/numpy_48025521c4d7462ba49749eed0f7f407/numpy/distutils/system_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
blas_src_info:
NOT AVAILABLE
/tmp/pip-install-evxpallc/numpy_48025521c4d7462ba49749eed0f7f407/numpy/distutils/system_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
NOT AVAILABLE
/bin/sh: 1: svnversion: not found
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
openblas_lapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
openblas_clapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas,lapack not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
flame_info:
customize UnixCCompiler
libraries flame not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /home/zhangzrjerry/anaconda3/envs/globalenv/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /home/zhangzrjerry/anaconda3/envs/globalenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib64
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
customize UnixCCompiler
libraries lapack_atlas not found in /home/zhangzrjerry/anaconda3/envs/globalenv/lib
customize UnixCCompiler
libraries satlas,satlas not found in /home/zhangzrjerry/anaconda3/envs/globalenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries satlas,satlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib64
customize UnixCCompiler
libraries satlas,satlas not found in /usr/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries satlas,satlas not found in /usr/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
customize UnixCCompiler
libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /home/zhangzrjerry/anaconda3/envs/globalenv/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /home/zhangzrjerry/anaconda3/envs/globalenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib64
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
customize UnixCCompiler
libraries lapack_atlas not found in /home/zhangzrjerry/anaconda3/envs/globalenv/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /home/zhangzrjerry/anaconda3/envs/globalenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib64
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib64
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
customize UnixCCompiler
libraries lapack not found in ['/home/zhangzrjerry/anaconda3/envs/globalenv/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
NOT AVAILABLE
/tmp/pip-install-evxpallc/numpy_48025521c4d7462ba49749eed0f7f407/numpy/distutils/system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
lapack_src_info:
NOT AVAILABLE
/tmp/pip-install-evxpallc/numpy_48025521c4d7462ba49749eed0f7f407/numpy/distutils/system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
NOT AVAILABLE
/home/zhangzrjerry/anaconda3/envs/globalenv/lib/python3.10/site-packages/setuptools/_distutils/dist.py:262: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running install
/home/zhangzrjerry/anaconda3/envs/globalenv/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 config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "npymath" sources
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize LaheyFCompiler
Could not locate executable lf95
customize PGroupFCompiler
Could not locate executable pgfortran
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize NAGFCompiler
customize VastFCompiler
customize CompaqFCompiler
Could not locate executable fort
customize IntelItaniumFCompiler
Could not locate executable efort
Could not locate executable efc
customize IntelEM64TFCompiler
customize GnuFCompiler
Could not locate executable g77
customize G95FCompiler
Could not locate executable g95
customize PathScaleFCompiler
Could not locate executable pathf95
customize NAGFORCompiler
Could not locate executable nagfor
don't know how to compile Fortran code on platform 'posix'
C compiler: gcc -pthread -B /home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC
compile options: '-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/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10 -c'
gcc: _configtest.c
gcc -pthread -B /home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat _configtest.o -o _configtest
success!
removing: _configtest.c _configtest.o _configtest.o.d _configtest
C compiler: gcc -pthread -B /home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC
compile options: '-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/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10 -c'
gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’; expected ‘double(double)’ [-Wbuiltin-declaration-mismatch]
1 | int exp (void);
| ^~~
_configtest.c:1:1: note: ‘exp’ is declared in header ‘<math.h>’
+++ |+#include <math.h>
1 | int exp (void);
gcc -pthread -B /home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat _configtest.o -o _configtest
/home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat/ld: _configtest.o: in function `main':
_configtest.c:(.text.startup+0x9): undefined reference to `exp'
collect2: error: ld returned 1 exit status
failure.
removing: _configtest.c _configtest.o _configtest.o.d
C compiler: gcc -pthread -B /home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC
compile options: '-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/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10 -c'
gcc: _configtest.c
_configtest.c:1:5: warning: conflicting types for built-in function ‘exp’; expected ‘double(double)’ [-Wbuiltin-declaration-mismatch]
1 | int exp (void);
| ^~~
_configtest.c:1:1: note: ‘exp’ is declared in header ‘<math.h>’
+++ |+#include <math.h>
1 | int exp (void);
gcc -pthread -B /home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat _configtest.o -lm -o _configtest
success!
removing: _configtest.c _configtest.o _configtest.o.d _configtest
adding 'build/src.linux-x86_64-3.1/numpy/core/src/npymath' to include_dirs.
None - nothing done with h_files = ['build/src.linux-x86_64-3.1/numpy/core/src/npymath/npy_math_internal.h']
building library "npysort" sources
adding 'build/src.linux-x86_64-3.1/numpy/core/src/common' to include_dirs.
None - nothing done with h_files = ['build/src.linux-x86_64-3.1/numpy/core/src/common/npy_sort.h', 'build/src.linux-x86_64-3.1/numpy/core/src/common/npy_partition.h', 'build/src.linux-x86_64-3.1/numpy/core/src/common/npy_binsearch.h']
building extension "numpy.core._dummy" sources
adding 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
adding 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/__multiarray_api.h' to sources.
numpy.core - nothing done with h_files = ['build/src.linux-x86_64-3.1/numpy/core/include/numpy/config.h', 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/__multiarray_api.h']
building extension "numpy.core._multiarray_tests" sources
building extension "numpy.core._multiarray_umath" sources
adding 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/config.h' to sources.
adding 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/_numpyconfig.h' to sources.
executing numpy/core/code_generators/generate_numpy_api.py
adding 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/__multiarray_api.h' to sources.
executing numpy/core/code_generators/generate_ufunc_api.py
adding 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/__ufunc_api.h' to sources.
adding 'build/src.linux-x86_64-3.1/numpy/core/src/umath' to include_dirs.
adding 'build/src.linux-x86_64-3.1/numpy/core/src/npymath' to include_dirs.
adding 'build/src.linux-x86_64-3.1/numpy/core/src/common' to include_dirs.
numpy.core - nothing done with h_files = ['build/src.linux-x86_64-3.1/numpy/core/src/umath/funcs.inc', 'build/src.linux-x86_64-3.1/numpy/core/src/umath/simd.inc', 'build/src.linux-x86_64-3.1/numpy/core/src/umath/loops.h', 'build/src.linux-x86_64-3.1/numpy/core/src/umath/matmul.h', 'build/src.linux-x86_64-3.1/numpy/core/src/umath/clip.h', 'build/src.linux-x86_64-3.1/numpy/core/src/npymath/npy_math_internal.h', 'build/src.linux-x86_64-3.1/numpy/core/src/common/templ_common.h', 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/config.h', 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/_numpyconfig.h', 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/__multiarray_api.h', 'build/src.linux-x86_64-3.1/numpy/core/include/numpy/__ufunc_api.h']
building extension "numpy.core._umath_tests" sources
building extension "numpy.core._rational_tests" sources
building extension "numpy.core._struct_ufunc_tests" sources
building extension "numpy.core._operand_flag_tests" sources
building extension "numpy.fft._pocketfft_internal" sources
building extension "numpy.linalg.lapack_lite" sources
### Warning: Using unoptimized lapack ###
adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_z_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_c_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_d_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_s_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_blas.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_config.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c.c' to sources.
building extension "numpy.linalg._umath_linalg" sources
### Warning: Using unoptimized lapack ###
adding 'numpy/linalg/lapack_lite/python_xerbla.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_z_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_c_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_d_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_s_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_lapack.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_blas.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c_config.c' to sources.
adding 'numpy/linalg/lapack_lite/f2c.c' to sources.
building extension "numpy.random.mt19937" sources
building extension "numpy.random.philox" sources
building extension "numpy.random.pcg64" sources
building extension "numpy.random.sfc64" sources
building extension "numpy.random.common" sources
building extension "numpy.random.bit_generator" sources
building extension "numpy.random.generator" sources
building extension "numpy.random.bounded_integers" sources
building extension "numpy.random.mtrand" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
copying numpy/version.py -> build/lib.linux-x86_64-cpython-310/numpy
copying build/src.linux-x86_64-3.1/numpy/__config__.py -> build/lib.linux-x86_64-cpython-310/numpy
copying build/src.linux-x86_64-3.1/numpy/distutils/__config__.py -> build/lib.linux-x86_64-cpython-310/numpy/distutils
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'numpy.core._multiarray_umath' extension
compiling C sources
C compiler: gcc -pthread -B /home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC
compile options: '-DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/umath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-x86_64-3.1/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/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -c'
gcc: build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.c
numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_repr’:
numpy/core/src/multiarray/scalartypes.c.src:475:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
475 | ip = dptr = Py@Name@_AS_@NAME@(self);
| ^~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:476:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
476 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:476:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
476 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:476:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
476 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:481:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
481 | new = Py@Name@_From@Name@@extra@(ip, len);
| ^~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘unicodetype_str’:
numpy/core/src/multiarray/scalartypes.c.src:475:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
475 | ip = dptr = Py@Name@_AS_@NAME@(self);
| ^~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:476:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
476 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:476:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
476 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:476:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
476 | len = Py@Name@_GET_SIZE(self);
| ^~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:481:5: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
481 | new = Py@Name@_From@Name@@extra@(ip, len);
| ^~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
| ^~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘gentype_reduce’:
numpy/core/src/multiarray/scalartypes.c.src:1849:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
1849 | buffer = PyUnicode_AS_DATA(self);
| ^~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1850:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
1850 | buflen = PyUnicode_GET_DATA_SIZE(self);
| ^~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1850:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
1850 | buflen = PyUnicode_GET_DATA_SIZE(self);
| ^~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:1850:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
1850 | buflen = PyUnicode_GET_DATA_SIZE(self);
| ^~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/unicodeobject.h:1046,
from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:83,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3311:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3311 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3311:12: error: too few arguments to function ‘_Py_HashDouble’
3311 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘cfloat_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3319:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3319 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3320 | (((PyC@name@ScalarObject *)obj)->obval).real);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3319:16: error: too few arguments to function ‘_Py_HashDouble’
3319 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3325:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3325 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3326 | (((PyC@name@ScalarObject *)obj)->obval).imag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3325:16: error: too few arguments to function ‘_Py_HashDouble’
3325 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3311:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3311 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3311:12: error: too few arguments to function ‘_Py_HashDouble’
3311 | return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘clongdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3319:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3319 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3320 | (((PyC@name@ScalarObject *)obj)->obval).real);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3319:16: error: too few arguments to function ‘_Py_HashDouble’
3319 | hashreal = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3325:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3325 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~
| |
| double
3326 | (((PyC@name@ScalarObject *)obj)->obval).imag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3325:16: error: too few arguments to function ‘_Py_HashDouble’
3325 | hashimag = _Py_HashDouble((double)
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3341:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
3341 | return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| double
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src:3341:12: error: too few arguments to function ‘_Py_HashDouble’
3341 | return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
| ^~~~~~~~~~~~~~
In file included from /home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/Python.h:77,
from numpy/core/src/multiarray/scalartypes.c.src:3:
/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10/pyhash.h:10:23: note: declared here
10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
| ^~~~~~~~~~~~~~
numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3312:1: warning: control reaches end of non-void function [-Wreturn-type]
3312 | }
| ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3312:1: warning: control reaches end of non-void function [-Wreturn-type]
3312 | }
| ^
numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
numpy/core/src/multiarray/scalartypes.c.src:3342:1: warning: control reaches end of non-void function [-Wreturn-type]
3342 | }
| ^
error: Command "gcc -pthread -B /home/zhangzrjerry/anaconda3/envs/globalenv/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC -O2 -isystem /home/zhangzrjerry/anaconda3/envs/globalenv/include -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/umath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-x86_64-3.1/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/home/zhangzrjerry/anaconda3/envs/globalenv/include/python3.10 -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -Ibuild/src.linux-x86_64-3.1/numpy/core/src/common -Ibuild/src.linux-x86_64-3.1/numpy/core/src/npymath -c build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.c -o build/temp.linux-x86_64-cpython-310/build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.o -MMD -MF build/temp.linux-x86_64-cpython-310/build/src.linux-x86_64-3.1/numpy/core/src/multiarray/scalartypes.o.d" failed with exit status 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.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.