sudo python2 get-pip.py
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
sudo pip install -U cuckoo
Stored in directory: /home/a/.cache/pip/wheels/a9/95/2c/d17107aebbcbf41bd37cda67e7e21da61d4d48b16001015749
Building wheel for wakeonlan (setup.py) ... done
Created wheel for wakeonlan: filename=wakeonlan-0.2.2-py2-none-any.whl size=3660 sha256=f48e85866a814babfa45aa38082b0f762a40dac782fc44a9d2adbb45d3df1153
Stored in directory: /home/a/.cache/pip/wheels/52/e4/e0/e3193a6967cb2de02ca47eb9d77474aa930b386ef1ecb090cd
Building wheel for yara-python (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-knDZ7Q/yara-python/setup.py'"'"'; file='"'"'/tmp/pip-install-knDZ7Q/yara-python/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 /tmp/pip-wheel-_NGjpM
cwd: /tmp/pip-install-knDZ7Q/yara-python/
Complete output (15 lines):
running bdist_wheel
running build
running build_ext
building 'yara' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/yara
creating build/temp.linux-x86_64-2.7/yara/libyara
creating build/temp.linux-x86_64-2.7/yara/libyara/modules
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_MEMMEM=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python2.7 -c yara-python.c -o build/temp.linux-x86_64-2.7/yara-python.o
yara-python.c:18:10: fatal error: Python.h: No such file or directory
18 | #include
| ^~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
ERROR: Failed building wheel for yara-python
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-knDZ7Q/pillow/setup.py'"'"'; file='"'"'/tmp/pip-install-knDZ7Q/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-fLl0jV/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/a/.local/include/python2.7/pillow Check the logs for full command output.
a@zalman:~$ cuckoo
Thanks for creating an issue! But first: did you read our community guidelines? https://cuckoo.sh/docs/introduction/community.html
My issue is:
I have installed from command line :
sudo python2 get-pip.py DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
sudo pip install -U cuckoo
Stored in directory: /home/a/.cache/pip/wheels/a9/95/2c/d17107aebbcbf41bd37cda67e7e21da61d4d48b16001015749 Building wheel for wakeonlan (setup.py) ... done Created wheel for wakeonlan: filename=wakeonlan-0.2.2-py2-none-any.whl size=3660 sha256=f48e85866a814babfa45aa38082b0f762a40dac782fc44a9d2adbb45d3df1153 Stored in directory: /home/a/.cache/pip/wheels/52/e4/e0/e3193a6967cb2de02ca47eb9d77474aa930b386ef1ecb090cd Building wheel for yara-python (setup.py) ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-knDZ7Q/yara-python/setup.py'"'"'; file='"'"'/tmp/pip-install-knDZ7Q/yara-python/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 /tmp/pip-wheel-_NGjpM cwd: /tmp/pip-install-knDZ7Q/yara-python/ Complete output (15 lines): running bdist_wheel running build running build_ext building 'yara' extension creating build creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/yara creating build/temp.linux-x86_64-2.7/yara/libyara creating build/temp.linux-x86_64-2.7/yara/libyara/modules x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-1x6jhf/python2.7-2.7.18~rc1=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_MEMMEM=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python2.7 -c yara-python.c -o build/temp.linux-x86_64-2.7/yara-python.o yara-python.c:18:10: fatal error: Python.h: No such file or directory 18 | #include
| ^
~~~~~ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1ERROR: Failed building wheel for yara-python
ERROR: Command errored out with exit status 1: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-knDZ7Q/pillow/setup.py'"'"'; file='"'"'/tmp/pip-install-knDZ7Q/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-fLl0jV/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/a/.local/include/python2.7/pillow Check the logs for full command output. a@zalman:~$ cuckoo
My Cuckoo version and operating system are:
Python 2.7.18rc1 (default, Apr 7 2020, 12:05:55) [GCC 9.3.0] on linux2 ubuntu 20.04.1 LTS
This can be reproduced by:
The log, error, files etc can be found at: