-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing trigger on raspbian #304
Comments
"Sudo apt-get install python-dev" may solve your python.h issue. Will On Wednesday, October 19, 2016, thecableguy11492 notifications@github.com
|
@Willramses2 Thank you for the comment it helped! I have another error now though. Any suggestions? c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 Cleaning up... |
What's the output of sudo dpkg -l | grep libffi-dev ? If there is nothing there maybe try installing it sudo apt-get install Regards, Thomas Cuthbert On Thu, Oct 20, 2016 at 10:32 AM, thecableguy11492 <notifications@github.com
|
The ffi.h i believe is installed from libffi-dev (sudo apt-get install Will On Wednesday, October 19, 2016, thecableguy11492 notifications@github.com
|
Methinks we could use this as an excuse to improve the install docs a little! Add some OS-specific instructions for things like this? |
I'm getting a lot of errors when trying to install trigger on a raspberry pi with raspbian.
Version = Jessie 8
Linux version 4.4.21-v7+
I continually see the install trying to reference a file ('Python.h") that I apparently do not have. Below is a snippet of the errors I'm seeing.
In file included from /tmp/easy_install-TznDVO/SimpleParse-2.2.0/simpleparse/stt/TextTools/mxTextTools/mxTextTools.c:18:0:
/tmp/easy_install-TznDVO/SimpleParse-2.2.0/simpleparse/stt/TextTools/mxTextTools/mx.h:60:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
In file included from /tmp/easy_install-GvFxEz/SimpleParse-2.2.0/simpleparse/stt/TextTools/mxTextTools/mxTextTools.c:18:0:
/tmp/easy_install-GvFxEz/SimpleParse-2.2.0/simpleparse/stt/TextTools/mxTextTools/mx.h:60:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
error: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-MIychA/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-xoGd_P-record/install-record.txt --single-version-externally-managed --compile:
Package libffi was not found in the pkg-config search path.
distutils.errors.DistutilsError: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
The text was updated successfully, but these errors were encountered: