-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
BuildLibrary building on various platformsLibrary building on various platformsDependenciesRequired and optional dependenciesRequired and optional dependenciesNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further action
Description
Problem description
I was going through the instructions in setting up the dev environment on Mac here:
And while I was trying to execute the below code:
# Install the build dependencies
python -m pip install -r requirements-dev.txt
I got the below clang error (redacted):
Running setup.py install for python-snappy ... error
ERROR: Command errored out with exit status 1:
…
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/Users/xxx/virtualenvs/pandas-dev/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c snappy/snappymodule.cc -o build/temp.macosx-10.15-x86_64-3.7/snappy/snappymodule.o
snappy/snappymodule.cc:31:10: fatal error: 'snappy-c.h' file not found
#include <snappy-c.h>
^~~~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: …
I went through the rest of the virtual environment set up fine besides this issue.
Metadata
Metadata
Assignees
Labels
BuildLibrary building on various platformsLibrary building on various platformsDependenciesRequired and optional dependenciesRequired and optional dependenciesNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further action