Closed wsargent closed 4 years ago
If you try to install sudo pip install awscli without Python headers, you'll get:
sudo pip install awscli
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
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.
If you try to install
sudo pip install awscli
without Python headers, you'll get:So probably the following needs to be added: