Repository navigation
Closed
Description
I get this error:
Running setup.py install for greenlet ... error
Complete output from command /Users/kaustavhaldar/.virtualenvs/pip/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-1wj8kft_/greenlet/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fl664o2t-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/kaustavhaldar/.virtualenvs/pip/bin/../include/site/python3.5/greenlet:
running install
running build
running build_ext
building 'greenlet' extension
creating build
creating build/temp.macosx-10.6-intel-3.5
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m -c greenlet.c -o build/temp.macosx-10.6-intel-3.5/greenlet.o
In file included from greenlet.c:5:
In file included from ./greenlet.h:8:
In file included from /Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m/Python.h:75:
/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m/bytearrayobject.h:9:10: fatal error: 'stdarg.h' file not found
#include <stdarg.h>
^
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
----------------------------------------
Command "/Users/kaustavhaldar/.virtualenvs/pip/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-1wj8kft_/greenlet/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fl664o2t-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/kaustavhaldar/.virtualenvs/pip/bin/../include/site/python3.5/greenlet" failed with error code 1 in /private/tmp/pip-build-1wj8kft_/greenlet
Metadata
Metadata
Assignees
Labels
No labels
Activity
snaury commentedon Jan 19, 2016
You probably don't have Xcode or tools installed. You need to install Xcode, and if that doesn't work try
xcode-select --install.[1.1.2] Demonstrate that C++ exception thrown in one greenlet, can pr…
[1.1.2] Demonstrate that C++ exception thrown in one greenlet, can pr…