Skip to content

Update Documentation: Recommended Ubuntu Build #14

@matthias2maier

Description

@matthias2maier

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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions