Areizen / Android-Malware-Sandbox

Android Malware Sandbox
Apache License 2.0
279 stars 54 forks source link

MITMproxy from requirements.txt gives error when installing with pip #13

Open jesx0091 opened 2 years ago

jesx0091 commented 2 years ago

Collecting zstandard<0.13.0,>=0.11.0 Using cached zstandard-0.12.0.tar.gz (648 kB) ERROR: Command errored out with exit status 1: command: /home/malware/Documents/Android-Malware-Sandbox/env/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wk65xodt/zstandard/setup.py'"'"'; file='"'"'/tmp/pip-install-wk65xodt/zstandard/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-wk65xodt/zstandard/pip-egg-info cwd: /tmp/pip-install-wk65xodt/zstandard/ Complete output (13 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-wk65xodt/zstandard/setup.py", line 70, in import make_cffi File "/tmp/pip-install-wk65xodt/zstandard/make_cffi.py", line 179, in preprocessed = preprocess(header) File "/tmp/pip-install-wk65xodt/zstandard/make_cffi.py", line 127, in preprocess process = subprocess.Popen(args + [input_file], stdout=subprocess.PIPE, File "/usr/lib/python3.8/subprocess.py", line 858, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'cc'

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

This seems to be related to MITMproxy. I am running on Python 3.8.10 and Ubuntu 20.04.4.