Closed kamal2222ahmed closed 5 years ago
could not install on mac:
$sudo pip install git-deps gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/syedahmed/anaconda3/include -arch x86_64 -I/Users/syedahmed/anaconda3/include -arch x86_64 -I/usr/local/include -I/Users/syedahmed/anaconda3/include/python3.7m -c src/blob.c -o build/temp.macosx-10.7-x86_64-3.7/src/blob.o In file included from src/blob.c:30: src/blob.h:33:10: fatal error: 'git2.h' file not found #include <git2.h> ^~~~~~~~ 1 error generated. error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/Users/syedahmed/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-ahdxifbe/pygit2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/tmp/pip-record-x_ywauvu/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-install-ahdxifbe/pygit2/
Sounds like you missed the first step of the installation described in option one which is installing libgit2 and pygit2. Please follow these instructions and then let me know if you still have an issue.
could not install on mac: