Skip to content

Instantly share code, notes, and snippets.

@jjdevbiz
Created August 26, 2015 22:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjdevbiz/e7acb21bb554d7846c0f to your computer and use it in GitHub Desktop.
Save jjdevbiz/e7acb21bb554d7846c0f to your computer and use it in GitHub Desktop.
docker-sc4-error.py
Installing collected packages: Adafruit-BBIO, gevent, webapp2, webob, python-memcached, ws4py, jinja2, peewee, greenlet, MarkupSafe
Running setup.py install for Adafruit-BBIO
building 'Adafruit_BBIO.GPIO' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC
-I/usr/include/python2.7 -c source/py_gpio.c -o build/temp.linux-x86_64-2.7/source/py_gpio.o -Wno-format-security
source/py_gpio.c:31:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-SRM6GN/Adafruit-BBIO/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__)
.read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-NJbFxP-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
copying Adafruit_I2C.py -> build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/overlays
copying overlays/__init__.py -> build/lib.linux-x86_64-2.7/overlays
copying overlays/builder.py -> build/lib.linux-x86_64-2.7/overlays
creating build/lib.linux-x86_64-2.7/Adafruit_BBIO
copying Adafruit_BBIO/__init__.py -> build/lib.linux-x86_64-2.7/Adafruit_BBIO
running build_ext
building 'Adafruit_BBIO.GPIO' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/source
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/
usr/include/python2.7 -c source/py_gpio.c -o build/temp.linux-x86_64-2.7/source/py_gpio.o -Wno-format-security
source/py_gpio.c:31:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-SRM6GN/Adafruit-BBIO/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '
\n'), __file__, 'exec'))" install --record /tmp/pip-NJbFxP-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-SRM6GN/Adafruit-B
BIO
Storing debug log for failure in /root/.pip/pip.log
The command '/bin/sh -c pip install Adafruit_BBIO gevent webapp2 webob python-memcached ws4py jinja2 peewee' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment