Pyrit icon indicating copy to clipboard operation
Pyrit copied to clipboard

python build error

Open ghost opened this issue 4 years ago • 3 comments

svn: E155007: '/home/kali/Documents/pyrit/pyrit' is not a working copy running install running build running build_py running build_ext building 'cpyrit._cpyrit_cpu' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/build/python2.7-qvkjJF/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev" -maes -mpclmul cpyrit/_cpyrit_cpu.c:32:10: fatal error: Python.h: No such file or directory 32 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. Failed to build; Compiling without AES-NI building 'cpyrit._cpyrit_cpu' extension x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -ffile-prefix-map=/build/python2.7-qvkjJF/python2.7-2.7.18=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-x86_64-2.7/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.1-dev" cpyrit/_cpyrit_cpu.c:32:10: fatal error: Python.h: No such file or directory 32 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

ghost avatar Oct 26 '21 08:10 ghost

like here https://underc0de.org/foro/dudas-generales-121/como-instalar-pyrit/

try sudo apt-get install pyrit

work for me. good luck

huguitovi avatar Nov 07 '21 21:11 huguitovi

sudo apt-get install python-dev

vido89 avatar Nov 20 '21 01:11 vido89

try this sudo apt-get install python2-dev

work for me

Gabriel-Agustin avatar Dec 24 '21 04:12 Gabriel-Agustin