Advertisement
gatorback

pip3 install hidapi==0.7.99.post14

Dec 6th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. MacBook$ pip3 install hidapi==0.7.99.post14
  2. Collecting hidapi==0.7.99.post14
  3. Downloading https://files.pythonhosted.org/packages/93/b9/08491f9522d0c5b6715087125b6b1880cf416052ed1075b152e34337f32f/hidapi-0.7.99.post14.tar.gz
  4. Collecting Cython
  5. Downloading https://files.pythonhosted.org/packages/9b/e6/6e30303d7bc17289411d82276b7338a1781964171c94f5ebe689cbecad4c/Cython-0.29.14-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.9MB)
  6. |████████████████████████████████| 2.9MB 2.7MB/s
  7. Building wheels for collected packages: hidapi
  8. Building wheel for hidapi (setup.py) ... error
  9. ERROR: Command errored out with exit status 1:
  10. command: /usr/local/opt/python/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yc/58xztvn53_97r6j2g9s16c980000gn/T/pip-install-y9nakf7v/hidapi/setup.py'"'"'; __file__='"'"'/private/var/folders/yc/58xztvn53_97r6j2g9s16c980000gn/T/pip-install-y9nakf7v/hidapi/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/yc/58xztvn53_97r6j2g9s16c980000gn/T/pip-wheel-y5urfn66 --python-tag cp37
  11. cwd: /private/var/folders/yc/58xztvn53_97r6j2g9s16c980000gn/T/pip-install-y9nakf7v/hidapi/
  12. Complete output (23 lines):
  13. running bdist_wheel
  14. running build
  15. running build_ext
  16. cythoning hid.pyx to hid.c
  17. /private/var/folders/yc/58xztvn53_97r6j2g9s16c980000gn/T/pip-install-y9nakf7v/hidapi/.eggs/Cython-0.29.14-py3.7-macosx-10.13-x86_64.egg/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /private/var/folders/yc/58xztvn53_97r6j2g9s16c980000gn/T/pip-install-y9nakf7v/hidapi/hid.pyx
  18. tree = Parsing.p_module(s, pxd, full_module_name)
  19. building 'hid' extension
  20. creating build
  21. creating build/temp.macosx-10.13-x86_64-3.7
  22. creating build/temp.macosx-10.13-x86_64-3.7/hidapi
  23. creating build/temp.macosx-10.13-x86_64-3.7/hidapi/mac
  24. Compiling with an SDK that doesn't seem to exist: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
  25. Please check your Xcode installation
  26. 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.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -framework IOKit -framework CoreFoundation -Ihidapi/hidapi -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c hid.c -o build/temp.macosx-10.13-x86_64-3.7/hid.o
  27. clang: warning: -framework IOKit: 'linker' input unused [-Wunused-command-line-argument]
  28. clang: warning: -framework CoreFoundation: 'linker' input unused [-Wunused-command-line-argument]
  29. clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' [-Wmissing-sysroot]
  30. In file included from hid.c:4:
  31. /usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/include/python3.7m/Python.h:25:10: fatal error: 'stdio.h' file not found
  32. #include <stdio.h>
  33. ^~~~~~~~~
  34. 1 error generated.
  35. error: command 'clang' failed with exit status 1
  36. ----------------------------------------
  37. ERROR: Failed building wheel for hidapi
  38. Running setup.py clean for hidapi
  39. Failed to build hidapi
  40. Installing collected packages: Cython, hidapi
  41. Running setup.py install for hidapi ... done
  42. Successfully installed Cython-0.29.14 hidapi-0.7.99.post14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement