Skip to content
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

Need update on setup instruction #69

Open
gobindaakhuli opened this issue Jun 17, 2016 · 2 comments
Open

Need update on setup instruction #69

gobindaakhuli opened this issue Jun 17, 2016 · 2 comments

Comments

@gobindaakhuli
Copy link

I have fedora22 with python 3.4 so pip3.5 is not available on my pc.
when I do try with pip3.4 : pip3.4 install -r requirements.txt
I get:
gcc -pthread -Wno-unused-result -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.4m -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.4/c/_cffi_backend.o

c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory

compilation terminated.

error: command 'gcc' failed with exit status 1

----------------------------------------
Command "/usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-qslojink/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-vpyemxb6-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-qslojink/cffi

this type of error, how do I solve this.

@fabaff
Copy link

fabaff commented Aug 14, 2016

I'm just guessing but it seems that devel package which contains ffi.h is missing.

@farhaanbukhsh
Copy link
Contributor

I think you need to install python3-devel package!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants