KCFnb
KCFnb copied to clipboard
fhog_util err
ubuntu 16.04 conda virtual-env python2.7
when run "python fhog.util.py" get some err like this:
cc1plus: warning: command line option ???-Wstrict-prototypes??? is valid for C/ObjC but not for C++ In file included from /home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/modulemixin.c:16:0: /home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/../_helperlib.c: In function ???import_cython_function???: /home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/../_helperlib.c:578:42: warning: passing argument 2 of ???PyMapping_GetItemString??? discards ???const??? qualifier from pointer target type [-Wdiscarded-qualifiers] cobj = PyMapping_GetItemString(capi, function_name); ^ In file included from /home/by/anaconda3/envs/kcfenv/include/python2.7/Python.h:136:0, from /home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/../_pymodule.h:6, from /home/by/anaconda3/envs/kcfenv/lib/python2.7/site-packages/numba/pycc/modulemixin.c:8: /home/by/anaconda3/envs/kcfenv/include/python2.7/abstract.h:1356:29: note: expected ???char *??? but argument is of type ???const char *??? PyAPI_FUNC(PyObject *) PyMapping_GetItemString(PyObject *o, char *key); ^ Exception TypeError: "'NoneType' object is not callable" in <bound method ModuleRef.del of <llvmlite.binding.module.ModuleRef object at 0x7f1042b255d0>> ignored
I don't know how to fix this.pls