tap-facebook icon indicating copy to clipboard operation
tap-facebook copied to clipboard

pip install fails when building wheel for cisco8601

Open jordanrburger opened this issue 3 years ago • 0 comments

Hello,

I am trying to install tap-facebook via pip without any luck. I have tried uninstalling/installing xcode CL tools again. Here is the error message:

  Building wheel for ciso8601 (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/jordanburger/tap-facebook/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-install-3ccpmtzu/ciso8601_a143c506d2af4869981f91306c278c8f/setup.py'"'"'; __file__='"'"'/private/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-install-3ccpmtzu/ciso8601_a143c506d2af4869981f91306c278c8f/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-wheel-mqcus5f1
       cwd: /private/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-install-3ccpmtzu/ciso8601_a143c506d2af4869981f91306c278c8f/
  Complete output (22 lines):
  running bdist_wheel
  running build
  running build_py
  package init file 'ciso8601/__init__.py' not found (or not a regular file)
  creating build
  creating build/lib.macosx-11-x86_64-3.9
  creating build/lib.macosx-11-x86_64-3.9/ciso8601
  copying ciso8601/__init__.pyi -> build/lib.macosx-11-x86_64-3.9/ciso8601
  copying ciso8601/py.typed -> build/lib.macosx-11-x86_64-3.9/ciso8601
  running build_ext
  building 'ciso8601' extension
  creating build/temp.macosx-11-x86_64-3.9
  Compiling with an SDK that doesn't seem to exist: /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
  Please check your Xcode installation
  /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -DCISO8601_VERSION=2.1.3 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/Users/jordanburger/tap-facebook/include -I/usr/local/Cellar/[email protected]/3.9.0_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c module.c -o build/temp.macosx-11-x86_64-3.9/module.o
  clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot]
  In file included from module.c:1:
  /usr/local/Cellar/[email protected]/3.9.0_4/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:25:10: fatal error: 'stdio.h' file not found
  #include <stdio.h>
           ^~~~~~~~~
  1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for ciso8601
  Running setup.py clean for ciso8601
Failed to build ciso8601
Installing collected packages: ciso8601, backoff, aiohttp, singer-python, pendulum, facebook-business, attrs, tap-facebook
    Running setup.py install for ciso8601 ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/jordanburger/tap-facebook/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-install-3ccpmtzu/ciso8601_a143c506d2af4869981f91306c278c8f/setup.py'"'"'; __file__='"'"'/private/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-install-3ccpmtzu/ciso8601_a143c506d2af4869981f91306c278c8f/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/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-record-xf3_auzy/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jordanburger/tap-facebook/include/site/python3.9/ciso8601
         cwd: /private/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-install-3ccpmtzu/ciso8601_a143c506d2af4869981f91306c278c8f/
    Complete output (22 lines):
    running install
    running build
    running build_py
    package init file 'ciso8601/__init__.py' not found (or not a regular file)
    creating build
    creating build/lib.macosx-11-x86_64-3.9
    creating build/lib.macosx-11-x86_64-3.9/ciso8601
    copying ciso8601/__init__.pyi -> build/lib.macosx-11-x86_64-3.9/ciso8601
    copying ciso8601/py.typed -> build/lib.macosx-11-x86_64-3.9/ciso8601
    running build_ext
    building 'ciso8601' extension
    creating build/temp.macosx-11-x86_64-3.9
    Compiling with an SDK that doesn't seem to exist: /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
    Please check your Xcode installation
    /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -DCISO8601_VERSION=2.1.3 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/Users/jordanburger/tap-facebook/include -I/usr/local/Cellar/[email protected]/3.9.0_4/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c module.c -o build/temp.macosx-11-x86_64-3.9/module.o
    clang: warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk' [-Wmissing-sysroot]
    In file included from module.c:1:
    /usr/local/Cellar/[email protected]/3.9.0_4/Frameworks/Python.framework/Versions/3.9/include/python3.9/Python.h:25:10: fatal error: 'stdio.h' file not found
    #include <stdio.h>
             ^~~~~~~~~
    1 error generated.
    error: command '/usr/bin/clang' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/jordanburger/tap-facebook/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-install-3ccpmtzu/ciso8601_a143c506d2af4869981f91306c278c8f/setup.py'"'"'; __file__='"'"'/private/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-install-3ccpmtzu/ciso8601_a143c506d2af4869981f91306c278c8f/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/var/folders/vy/2rtm288x7g9_5fxgf7m7srn80000gn/T/pip-record-xf3_auzy/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jordanburger/tap-facebook/include/site/python3.9/ciso8601 Check the logs for full command output.```

jordanrburger avatar Mar 31 '21 12:03 jordanrburger