hypriot / flash

Command line script to flash SD card images of any kind
MIT License
1k stars 176 forks source link

Need python2.7-dev libraries listed as a dependency #117

Closed wsargent closed 4 years ago

wsargent commented 6 years ago

If you try to install sudo pip install awscli without Python headers, you'll get:

    ext/_yaml.c:4:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-3U_5pa/PyYAML/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-xWNB69-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-3U_5pa/PyYAML/

So probably the following needs to be added:

sudo apt-get install python2.7-dev
StefanScherer commented 6 years ago

Thanks. We used S3 in the early beginning. Normally you don‘t have SD images anymore directly on S3. They are on GitHub releases. Maybe we should remove this feature and docs.