VHostScan
VHostScan copied to clipboard
Error: command 'i686-linux-gnu-gcc' failed with exit status 1
Can anyone help me troubleshoot this install issue?
warning: no previously-included files matching '*.png' found anywhere in distribution [388/1509]
package init file 'pandas/io/tests/sas/init.py' not found (or not a regular file)
package init file 'pandas/io/tests/sas/init.py' not found (or not a regular file)
UPDATING build/lib.linux-i686-3.7/pandas/_version.py
set build/lib.linux-i686-3.7/pandas/_version.py to '0.19.2'
In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /usr/lib/python3/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/lib.c:274:
/usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [
-Wcpp]
#warning "Using deprecated NumPy API, disable it with " \
^~~~~~~
In file included from pandas/lib.c:280:
pandas/src/numpy_helper.h: In function ‘transfer_object_column’:
pandas/src/numpy_helper.h:152:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare]
for (i = 0; i < length; ++i)
^
In file included from /usr/include/python3.7m/Python.h:120,
from pandas/lib.c:4:
pandas/lib.c: In function ‘__pyx_f_6pandas_3lib_slice_get_indices_ex’:
pandas/lib.c:28309:37: warning: passing argument 1 of ‘PySlice_Unpack’ from incompatible pointer type [-Wincompatible-pointer-types]
__pyx_t_4 = PySlice_GetIndicesEx(((PySliceObject *)__pyx_v_slc), __pyx_v_objlen, (&__pyx_v_start), (&__pyx_v_stop), (&__pyx_v_step), (&__pyx_v_length)); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(0, 1723,
__pyx_L1_error)
/usr/include/python3.7m/sliceobject.h:49:21: note: in definition of macro ‘PySlice_GetIndicesEx’
PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
^~~~~
/usr/include/python3.7m/sliceobject.h:53:42: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PySliceObject *’ {aka ‘struct
PyAPI_FUNC(int) PySlice_Unpack(PyObject *slice,
~~~~~~~~~~^~~~~
pandas/lib.c: In function ‘__pyx_f_6pandas_3lib_slice_len’:
pandas/lib.c:28532:37: warning: passing argument 1 of ‘PySlice_Unpack’ from incompatible pointer type [-Wincompatible-pointer-types]
__pyx_t_4 = PySlice_GetIndicesEx(((PySliceObject *)__pyx_v_slc), __pyx_v_objlen, (&__pyx_v_start), (&__pyx_v_stop), (&__pyx_v_step), (&__pyx_v_length)); if (unlikely(__pyx_t_4 == -1)) __PYX_ERR(0, 1747,
__pyx_L1_error)
/usr/include/python3.7m/sliceobject.h:49:21: note: in definition of macro ‘PySlice_GetIndicesEx’
PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
^~~~~
/usr/include/python3.7m/sliceobject.h:53:42: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PySliceObject *’ {aka ‘struct
PyAPI_FUNC(int) PySlice_Unpack(PyObject *slice,
~~~~~~~~~~^~~~~
pandas/lib.c: In function ‘__Pyx__ExceptionSave’:
pandas/lib.c:91809:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
pandas/lib.c: In function ‘__Pyx__ExceptionSave’:
pandas/lib.c:91809:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
*type = tstate->exc_type;
^~~~~~~~
curexc_type
pandas/lib.c:91810:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
pandas/lib.c:91811:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
pandas/lib.c: In function ‘__Pyx__ExceptionReset’:
pandas/lib.c:91818:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
pandas/lib.c:91819:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
pandas/lib.c:91820:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
curexc_value
pandas/lib.c:91820:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
pandas/lib.c:91821:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = type;
^~~~~~~~
curexc_type
pandas/lib.c:91822:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
pandas/lib.c:91823:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
pandas/lib.c: In function ‘__Pyx__GetException’:
pandas/lib.c:92129:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
pandas/lib.c:92130:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
pandas/lib.c:92131:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
pandas/lib.c:92132:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = local_type;
^~~~~~~~
curexc_type
pandas/lib.c:92133:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = local_value;
error: Setup script exited with error: command 'i686-linux-gnu-gcc' failed with exit status 1
Any solution to this error. I've been getting the same on my debian 10 box while running python3 setup.py install.
Resolved the error and finally installed VHostScan successfully by running the setup.py with python2 specifically.
Ran the command python2 setup.py install and it worked.