-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hello,
i did run into several python/compiling issues as I used for building cloud attack range. i used the aws linux 2 on which aws cli tools etc. have been pre-configured. Even after several python updates we couldn't figure out why we got the bellow error.
But with using Ubuntu 18.0.4 AMI the error was not happening.
Please reference that the Ubuntu AMI is recommended to built etc.
https://aws.amazon.com/marketplace/pp/Canonical-Group-Limited-Ubuntu-1804-LTS-Bionic/B07CQ33QKV
Best
Building wheels for collected packages: psutil
Building wheel for psutil (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /opt/splunk/attack_range_cloud/venv/bin/python -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘“’”‘/tmp/pip-install-4y1w013b/psutil/setup.py’“‘”’; file=‘“’”‘/tmp/pip-install-4y1w013b/psutil/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-yjz0ooaw
cwd: /tmp/pip-install-4y1w013b/psutil/
Complete output (44 lines):