Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jesx0091 opened this issue Apr 19, 2022 · 0 comments
Open

Comments

@jesx0091
Copy link

jesx0091 commented Apr 19, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant