Title: cffi hard to install on osx · Issue #470 · bpython/bpython · GitHub
Open Graph Title: cffi hard to install on osx · Issue #470 · bpython/bpython
X Title: cffi hard to install on osx · Issue #470 · bpython/bpython
Description: I want to understand this and add it to a FAQ or something because I've been asked twice about it. (venv)venv [master] $ pip install cffi Downloading/unpacking cffi Downloading cffi-0.8.6.tar.gz (196kB): 196kB downloaded Running setup.py...
Open Graph Description: I want to understand this and add it to a FAQ or something because I've been asked twice about it. (venv)venv [master] $ pip install cffi Downloading/unpacking cffi Downloading cffi-0.8.6.tar.gz (1...
X Description: I want to understand this and add it to a FAQ or something because I've been asked twice about it. (venv)venv [master] $ pip install cffi Downloading/unpacking cffi Downloading cffi-0.8.6.tar.g...
Opengraph URL: https://github.com/bpython/bpython/issues/470
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cffi hard to install on osx","articleBody":"I want to understand this and add it to a FAQ or something because I've been asked twice about it.\n\n```\n(venv)venv [master] $ pip install cffi\nDownloading/unpacking cffi\n Downloading cffi-0.8.6.tar.gz (196kB): 196kB downloaded\n Running setup.py (path:/Users/maia/code/venv/build/cffi/setup.py) egg_info for package cffi\n\nDownloading/unpacking pycparser (from cffi)\n Downloading pycparser-2.10.tar.gz (206kB): 206kB downloaded\n Running setup.py (path:/Users/maia/code/venv/build/pycparser/setup.py) egg_info for package pycparser\n\nInstalling collected packages: cffi, pycparser\n Running setup.py install for cffi\n building '_cffi_backend' extension\n clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.9-x86_64-2.7/c/_cffi_backend.o\n c/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found\n #include \u003cffi.h\u003e\n ^\n 1 error generated.\n error: command 'clang' failed with exit status 1\n Complete output from command /Users/maia/code/venv/bin/python2.7 -c \"import setuptools, tokenize;__file__='/Users/maia/code/venv/build/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /var/folders/ck/tdb2gmy56p58xnb6p2yj2lgh0000gn/T/pip-JhJ99M-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/maia/code/venv/bin/../include/site/python2.7:\n running install\n\nrunning build\n\nrunning build_py\n\ncreating build\n\ncreating build/lib.macosx-10.9-x86_64-2.7\n\ncreating build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/__init__.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/api.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/backend_ctypes.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/commontypes.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/cparser.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/ffiplatform.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/gc_weakref.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/lock.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/model.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/vengine_cpy.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/vengine_gen.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\ncopying cffi/verifier.py -\u003e build/lib.macosx-10.9-x86_64-2.7/cffi\n\nrunning build_ext\n\nbuilding '_cffi_backend' extension\n\ncreating build/temp.macosx-10.9-x86_64-2.7\n\ncreating build/temp.macosx-10.9-x86_64-2.7/c\n\nclang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.9-x86_64-2.7/c/_cffi_backend.o\n\nc/_cffi_backend.c:13:10: fatal error: 'ffi.h' file not found\n\n#include \u003cffi.h\u003e\n\n ^\n\n1 error generated.\n\nerror: command 'clang' failed with exit status 1\n\n----------------------------------------\nCleaning up...\nCommand /Users/maia/code/venv/bin/python2.7 -c \"import setuptools, tokenize;__file__='/Users/maia/code/venv/build/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))\" install --record /var/folders/ck/tdb2gmy56p58xnb6p2yj2lgh0000gn/T/pip-JhJ99M-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/maia/code/venv/bin/../include/site/python2.7 failed with error code 1 in /Users/maia/code/venv/build/cffi\nStoring debug log for failure in /Users/maia/.pip/pip.log\n```\n","author":{"url":"https://github.com/thomasballinger","@type":"Person","name":"thomasballinger"},"datePublished":"2015-01-31T02:43:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/470/bpython/issues/470"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ffc31853-4047-582b-ae52-b5c0ada2891a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6F0:3F79FF:428EB3:552F52:696B0B22 |
| html-safe-nonce | b1dfe340db9331601861b248bf954590a8c3a7d44e9aae6adc59a4595aa75523 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkYwOjNGNzlGRjo0MjhFQjM6NTUyRjUyOjY5NkIwQjIyIiwidmlzaXRvcl9pZCI6Ijk3MTAwMDE5MDc5OTEyMTE4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 86d9ec342e4a7670d7e5956e55eabf095f1d2d45bd88be7463f97c5224cb57ec |
| hovercard-subject-tag | issue:56109286 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bpython/bpython/470/issue_layout |
| twitter:image | https://opengraph.githubassets.com/297915724f94ee104a18267e9549889eadb766c0cdf90275cb4b597adc1889d8/bpython/bpython/issues/470 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/297915724f94ee104a18267e9549889eadb766c0cdf90275cb4b597adc1889d8/bpython/bpython/issues/470 |
| og:image:alt | I want to understand this and add it to a FAQ or something because I've been asked twice about it. (venv)venv [master] $ pip install cffi Downloading/unpacking cffi Downloading cffi-0.8.6.tar.gz (1... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thomasballinger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/bpython/bpython git https://github.com/bpython/bpython.git |
| octolytics-dimension-user_id | 8071396 |
| octolytics-dimension-user_login | bpython |
| octolytics-dimension-repository_id | 21508865 |
| octolytics-dimension-repository_nwo | bpython/bpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21508865 |
| octolytics-dimension-repository_network_root_nwo | bpython/bpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width