cannot install PySpike
Closed this issue · 3 comments
pip install pyspike
(Mouse) farazmoradi@farazs-MacBook-Pro Mouse % pip install pyspike
Collecting pyspike
Using cached pyspike-0.6.0.tar.gz (1.5 MB)
Requirement already satisfied: numpy in /Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages (from pyspike) (1.20.2)
Building wheels for collected packages: pyspike
Building wheel for pyspike (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/farazmoradi/.conda/envs/Mouse/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-install-xsterkuo/pyspike_799559b016c94faa85778bfccc27efed/setup.py'"'"'; file='"'"'/private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-install-xsterkuo/pyspike_799559b016c94faa85778bfccc27efed/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-wheel-r9c4wsku
cwd: /private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-install-xsterkuo/pyspike_799559b016c94faa85778bfccc27efed/
Complete output (346 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.9
creating build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/spike_distance.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/DiscreteFunc.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/spikes.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/PieceWiseConstFunc.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/generic.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/init.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/PieceWiseLinFunc.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/psth.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/spike_directionality.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/spike_sync.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/SpikeTrain.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/isi_distance.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
creating build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/init.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/python_backend.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/directionality_python_backend.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_add.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_profiles.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_distances.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_directionality.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_simulated_annealing.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
running build_ext
skipping 'pyspike/cython/cython_add.c' Cython extension (up-to-date)
skipping 'pyspike/cython/cython_profiles.c' Cython extension (up-to-date)
skipping 'pyspike/cython/cython_distances.c' Cython extension (up-to-date)
skipping 'pyspike/cython/cython_directionality.c' Cython extension (up-to-date)
skipping 'pyspike/cython/cython_simulated_annealing.c' Cython extension (up-to-date)
building 'pyspike.cython.cython_add' extension
creating build/temp.macosx-10.9-x86_64-3.9
creating build/temp.macosx-10.9-x86_64-3.9/pyspike
creating build/temp.macosx-10.9-x86_64-3.9/pyspike/cython
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/farazmoradi/.conda/envs/Mouse/include -arch x86_64 -fPIC -O2 -isystem /Users/farazmoradi/.conda/envs/Mouse/include -arch x86_64 -I/Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include -I/Users/farazmoradi/.conda/envs/Mouse/include/python3.9 -c pyspike/cython/cython_add.c -o build/temp.macosx-10.9-x86_64-3.9/pyspike/cython/cython_add.o
In file included from pyspike/cython/cython_add.c:242:
In file included from /Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:
/Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
pyspike/cython/cython_add.c:6719:134: warning: code will never be executed [-Wunreachable-code]
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 794; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:7941:134: warning: code will never be executed [-Wunreachable-code]
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 147; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:9918:138: warning: code will never be executed [-Wunreachable-code]
__pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 352; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:9910:137: warning: code will never be executed [-Wunreachable-code]
__pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 352; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:13451:138: warning: code will never be executed [-Wunreachable-code]
__pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 637; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:13443:137: warning: code will never be executed [-Wunreachable-code]
__pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 637; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:14068:138: warning: code will never be executed [-Wunreachable-code]
__pyx_t_9 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 704; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:14060:137: warning: code will never be executed [-Wunreachable-code]
__pyx_t_9 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 704; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:20325:26: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type___pyx_array.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~ ^
pyspike/cython/cython_add.c:20328:32: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type___pyx_MemviewEnum.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
pyspike/cython/cython_add.c:20339:31: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type___pyx_memoryview.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
pyspike/cython/cython_add.c:20348:36: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type___pyx_memoryviewslice.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
pyspike/cython/cython_add.c:20700:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:22: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:52: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:59: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:21924:16: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
return PyUnicode_FromUnicode(NULL, 0);
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:551:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject) PyUnicode_FromUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:21936:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
pyspike/cython/cython_add.c:21937:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:21938:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyspike/cython/cython_add.c:21950:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyspike/cython/cython_add.c:21951:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:21952:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyspike/cython/cython_add.c:21953:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
pyspike/cython/cython_add.c:21954:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:21955:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyspike/cython/cython_add.c:21998:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyspike/cython/cython_add.c:21999:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:22000:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyspike/cython/cython_add.c:22001:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
pyspike/cython/cython_add.c:22002:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:22003:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
22 warnings and 20 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
ERROR: Failed building wheel for pyspike
Running setup.py clean for pyspike
Failed to build pyspike
Installing collected packages: pyspike
Running setup.py install for pyspike ... error
ERROR: Command errored out with exit status 1:
command: /Users/farazmoradi/.conda/envs/Mouse/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-install-xsterkuo/pyspike_799559b016c94faa85778bfccc27efed/setup.py'"'"'; file='"'"'/private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-install-xsterkuo/pyspike_799559b016c94faa85778bfccc27efed/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-record-sus7thjn/install-record.txt --single-version-externally-managed --compile --install-headers /Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyspike
cwd: /private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-install-xsterkuo/pyspike_799559b016c94faa85778bfccc27efed/
Complete output (346 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.9
creating build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/spike_distance.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/DiscreteFunc.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/spikes.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/PieceWiseConstFunc.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/generic.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/init.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/PieceWiseLinFunc.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/psth.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/spike_directionality.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/spike_sync.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/SpikeTrain.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
copying pyspike/isi_distance.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike
creating build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/init.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/python_backend.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/directionality_python_backend.py -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_add.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_profiles.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_distances.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_directionality.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
copying pyspike/cython/cython_simulated_annealing.c -> build/lib.macosx-10.9-x86_64-3.9/pyspike/cython
running build_ext
skipping 'pyspike/cython/cython_add.c' Cython extension (up-to-date)
skipping 'pyspike/cython/cython_profiles.c' Cython extension (up-to-date)
skipping 'pyspike/cython/cython_distances.c' Cython extension (up-to-date)
skipping 'pyspike/cython/cython_directionality.c' Cython extension (up-to-date)
skipping 'pyspike/cython/cython_simulated_annealing.c' Cython extension (up-to-date)
building 'pyspike.cython.cython_add' extension
creating build/temp.macosx-10.9-x86_64-3.9
creating build/temp.macosx-10.9-x86_64-3.9/pyspike
creating build/temp.macosx-10.9-x86_64-3.9/pyspike/cython
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/farazmoradi/.conda/envs/Mouse/include -arch x86_64 -fPIC -O2 -isystem /Users/farazmoradi/.conda/envs/Mouse/include -arch x86_64 -I/Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include -I/Users/farazmoradi/.conda/envs/Mouse/include/python3.9 -c pyspike/cython/cython_add.c -o build/temp.macosx-10.9-x86_64-3.9/pyspike/cython/cython_add.o
In file included from pyspike/cython/cython_add.c:242:
In file included from /Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1944:
/Users/farazmoradi/.conda/envs/Mouse/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
pyspike/cython/cython_add.c:6719:134: warning: code will never be executed [-Wunreachable-code]
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 794; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:7941:134: warning: code will never be executed [-Wunreachable-code]
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 147; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:9918:138: warning: code will never be executed [-Wunreachable-code]
__pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 352; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:9910:137: warning: code will never be executed [-Wunreachable-code]
__pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 352; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:13451:138: warning: code will never be executed [-Wunreachable-code]
__pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 637; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:13443:137: warning: code will never be executed [-Wunreachable-code]
__pyx_t_7 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_7); __pyx_t_5++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 637; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:14068:138: warning: code will never be executed [-Wunreachable-code]
__pyx_t_9 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 704; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:14060:137: warning: code will never be executed [-Wunreachable-code]
__pyx_t_9 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 704; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~
pyspike/cython/cython_add.c:20325:26: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type___pyx_array.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~ ^
pyspike/cython/cython_add.c:20328:32: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type___pyx_MemviewEnum.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
pyspike/cython/cython_add.c:20339:31: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type___pyx_memoryview.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
pyspike/cython/cython_add.c:20348:36: error: no member named 'tp_print' in 'struct _typeobject'
__pyx_type___pyx_memoryviewslice.tp_print = 0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
pyspike/cython/cython_add.c:20700:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:22: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:22: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:52: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20700:52: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*name) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:26: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:26: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(*argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op) :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:59: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE'
((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:20716:59: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations]
(PyUnicode_GET_SIZE(argname) != PyUnicode_GET_SIZE(key)) ? 1 :
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE'
PyUnicode_WSTR_LENGTH(op)))
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH'
#define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject)op)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here
Py_DEPRECATED(3.3)
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:21924:16: warning: 'PyUnicode_FromUnicode' is deprecated [-Wdeprecated-declarations]
return PyUnicode_FromUnicode(NULL, 0);
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/unicodeobject.h:551:1: note: 'PyUnicode_FromUnicode' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject) PyUnicode_FromUnicode(
^
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pyspike/cython/cython_add.c:21936:21: error: no member named 'exc_type' in 'struct _ts'
*type = tstate->exc_type;
~~~~~~ ^
pyspike/cython/cython_add.c:21937:22: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:21938:19: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyspike/cython/cython_add.c:21950:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyspike/cython/cython_add.c:21951:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:21952:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyspike/cython/cython_add.c:21953:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = type;
~~~~~~ ^
pyspike/cython/cython_add.c:21954:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:21955:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyspike/cython/cython_add.c:21998:24: error: no member named 'exc_type' in 'struct _ts'
tmp_type = tstate->exc_type;
~~~~~~ ^
pyspike/cython/cython_add.c:21999:25: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:22000:22: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
pyspike/cython/cython_add.c:22001:13: error: no member named 'exc_type' in 'struct _ts'
tstate->exc_type = local_type;
~~~~~~ ^
pyspike/cython/cython_add.c:22002:13: error: no member named 'exc_value' in 'struct _ts'; did you mean 'curexc_value'?
tstate->exc_value = local_value;
^~~~~~~~~
curexc_value
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:80:15: note: 'curexc_value' declared here
PyObject *curexc_value;
^
pyspike/cython/cython_add.c:22003:13: error: no member named 'exc_traceback' in 'struct _ts'; did you mean 'curexc_traceback'?
tstate->exc_traceback = local_tb;
^~~~~~~~~~~~~
curexc_traceback
/Users/farazmoradi/.conda/envs/Mouse/include/python3.9/cpython/pystate.h:81:15: note: 'curexc_traceback' declared here
PyObject *curexc_traceback;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
22 warnings and 20 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/farazmoradi/.conda/envs/Mouse/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-install-xsterkuo/pyspike_799559b016c94faa85778bfccc27efed/setup.py'"'"'; file='"'"'/private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-install-xsterkuo/pyspike_799559b016c94faa85778bfccc27efed/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/1t/1c7wwn1d66s27vn36sdky3lm0000gn/T/pip-record-sus7thjn/install-record.txt --single-version-externally-managed --compile --install-headers /Users/farazmoradi/.conda/envs/Mouse/include/python3.9/pyspike Check the logs for full command output.
Could this help?:
#42
This appears to be due to a known incompatibility between numpy and cython versions. See numpy issue #17937 on github.
You should not see it using the latest versions of numpy and cython.
But, if you do, please report that with the numpy and cython versions.
Issue should be resolved (see latest comment by Ed).