pyfprint icon indicating copy to clipboard operation
pyfprint copied to clipboard

pip install .

Open filzahamjad opened this issue 3 years ago • 0 comments

Building wheels for collected packages: pyfprint Building wheel for pyfprint (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/local/anaconda3/envs/finger/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-req-build-ye3b_zqn/setup.py'"'"'; file='"'"'/private/var/folders/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-req-build-ye3b_zqn/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/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-wheel-83vd4420 cwd: /private/var/folders/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-req-build-ye3b_zqn/ Complete output (39 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.8 creating build/lib.macosx-10.9-x86_64-3.8/pyfprint copying pyfprint/pyfprint.py -> build/lib.macosx-10.9-x86_64-3.8/pyfprint copying pyfprint/init.py -> build/lib.macosx-10.9-x86_64-3.8/pyfprint running build_ext building 'pyfprint._pyfprint_swig' extension swigging pyfprint/pyfprint_swig.i to pyfprint/pyfprint_swig_wrap.c swig -python -modern -o pyfprint/pyfprint_swig_wrap.c pyfprint/pyfprint_swig.i Deprecated command line option: -modern. This option is now always on. creating build/temp.macosx-10.9-x86_64-3.8 creating build/temp.macosx-10.9-x86_64-3.8/pyfprint gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/envs/finger/include -arch x86_64 -I/usr/local/anaconda3/envs/finger/include -arch x86_64 -I/usr/local/anaconda3/envs/finger/include/python3.8 -c pyfprint/pyfprint_swig_wrap.c -o build/temp.macosx-10.9-x86_64-3.8/pyfprint/pyfprint_swig_wrap.o pyfprint/pyfprint_swig_wrap.c:1756:7: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] 0, /* tp_print */ ^ /usr/local/anaconda3/envs/finger/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE , int); ^ /usr/local/anaconda3/envs/finger/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated)) ^ pyfprint/pyfprint_swig_wrap.c:1923:7: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] 0, / tp_print */ ^ /usr/local/anaconda3/envs/finger/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^ /usr/local/anaconda3/envs/finger/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated)) ^ pyfprint/pyfprint_swig_wrap.c:2720:10: fatal error: 'libfprint/fprint.h' file not found #include <libfprint/fprint.h> ^~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for pyfprint Running setup.py clean for pyfprint Failed to build pyfprint Installing collected packages: pyfprint Running setup.py install for pyfprint ... error ERROR: Command errored out with exit status 1: command: /usr/local/anaconda3/envs/finger/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-req-build-ye3b_zqn/setup.py'"'"'; file='"'"'/private/var/folders/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-req-build-ye3b_zqn/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/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-record-7mmgmige/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/anaconda3/envs/finger/include/python3.8/pyfprint cwd: /private/var/folders/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-req-build-ye3b_zqn/ Complete output (40 lines): running install running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.8 creating build/lib.macosx-10.9-x86_64-3.8/pyfprint copying pyfprint/pyfprint_swig.py -> build/lib.macosx-10.9-x86_64-3.8/pyfprint copying pyfprint/pyfprint.py -> build/lib.macosx-10.9-x86_64-3.8/pyfprint copying pyfprint/init.py -> build/lib.macosx-10.9-x86_64-3.8/pyfprint running build_ext building 'pyfprint._pyfprint_swig' extension swigging pyfprint/pyfprint_swig.i to pyfprint/pyfprint_swig_wrap.c swig -python -modern -o pyfprint/pyfprint_swig_wrap.c pyfprint/pyfprint_swig.i Deprecated command line option: -modern. This option is now always on. creating build/temp.macosx-10.9-x86_64-3.8 creating build/temp.macosx-10.9-x86_64-3.8/pyfprint gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/anaconda3/envs/finger/include -arch x86_64 -I/usr/local/anaconda3/envs/finger/include -arch x86_64 -I/usr/local/anaconda3/envs/finger/include/python3.8 -c pyfprint/pyfprint_swig_wrap.c -o build/temp.macosx-10.9-x86_64-3.8/pyfprint/pyfprint_swig_wrap.o pyfprint/pyfprint_swig_wrap.c:1756:7: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] 0, /* tp_print */ ^ /usr/local/anaconda3/envs/finger/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE , int); ^ /usr/local/anaconda3/envs/finger/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated)) ^ pyfprint/pyfprint_swig_wrap.c:1923:7: warning: 'tp_print' is deprecated [-Wdeprecated-declarations] 0, / tp_print */ ^ /usr/local/anaconda3/envs/finger/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int); ^ /usr/local/anaconda3/envs/finger/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated)) ^ pyfprint/pyfprint_swig_wrap.c:2720:10: fatal error: 'libfprint/fprint.h' file not found #include <libfprint/fprint.h> ^~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/local/anaconda3/envs/finger/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-req-build-ye3b_zqn/setup.py'"'"'; file='"'"'/private/var/folders/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-req-build-ye3b_zqn/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/z7/wrqh6lzs4rn5wc5l6rktf_9m0000gp/T/pip-record-7mmgmige/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/anaconda3/envs/finger/include/python3.8/pyfprint Check the logs for full command output.

OS: macOS Catalina Python: 3.8

filzahamjad avatar Feb 03 '21 07:02 filzahamjad