pi@raspberrypi:/$ sudo pip install localtunnel
Downloading/unpacking localtunnel
Downloading localtunnel-0.6.1.tar.gz
Running setup.py egg_info for package localtunnel
Downloading/unpacking eventlet (from localtunnel)
Downloading eventlet-0.13.0.tar.gz (276Kb): 276Kb downloaded
Running setup.py egg_info for package eventlet
Downloading/unpacking requests (from localtunnel)
Downloading requests-1.2.3.tar.gz (348Kb): 348Kb downloaded
Running setup.py egg_info for package requests
Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from localtunnel)
Downloading/unpacking greenlet>=0.3 (from eventlet->localtunnel)
Downloading greenlet-0.4.1.zip (75Kb): 75Kb downloaded
Running setup.py egg_info for package greenlet
Installing collected packages: localtunnel, eventlet, requests, greenlet
Running setup.py install for localtunnel
Installing localtunneld script to /usr/local/bin
Installing localtunnel-beta script to /usr/local/bin
Running setup.py install for eventlet
Running setup.py install for requests
Running setup.py install for greenlet
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fno-tree-dominator-opts -I/usr/include/python2.7 -c /tmp/tmp7mct7w/simple.c -o /tmp/tmp7mct7w/tmp/tmp7mct7w/simple.o
/tmp/tmp7mct7w/simple.c:1:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
building 'greenlet' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fno-tree-dominator-opts -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-armv6l-2.7/greenlet.o
In file included from greenlet.c:5:0:
greenlet.h:8:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;__file__='/build/greenlet/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-QjkDgK-record/install-record.txt:
running install
running build
running build_ext
creating /tmp/tmp7mct7w/tmp
creating /tmp/tmp7mct7w/tmp/tmp7mct7w
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fno-tree-dominator-opts -I/usr/include/python2.7 -c /tmp/tmp7mct7w/simple.c -o /tmp/tmp7mct7w/tmp/tmp7mct7w/simple.o
/tmp/tmp7mct7w/simple.c:1:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
building 'greenlet' extension
creating build
creating build/temp.linux-armv6l-2.7
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -fno-tree-dominator-opts -I/usr/include/python2.7 -c greenlet.c -o build/temp.linux-armv6l-2.7/greenlet.o
In file included from greenlet.c:5:0:
greenlet.h:8:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/build/greenlet/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-QjkDgK-record/install-record.txt failed with error code 1 in /build/greenlet
Storing complete log in /root/.pip/pip.log