Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MacBook$ pip3 install hidapi==0.7.99.post14
- Collecting hidapi==0.7.99.post14
- Downloading https://files.pythonhosted.org/packages/93/b9/08491f9522d0c5b6715087125b6b1880cf416052ed1075b152e34337f32f/hidapi-0.7.99.post14.tar.gz
- Collecting Cython
- 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)
- |████████████████████████████████| 2.9MB 2.7MB/s
- Building wheels for collected packages: hidapi
- Building wheel for hidapi (setup.py) ... error
- ERROR: Command errored out with exit status 1:
- 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
- cwd: /private/var/folders/yc/58xztvn53_97r6j2g9s16c980000gn/T/pip-install-y9nakf7v/hidapi/
- Complete output (23 lines):
- running bdist_wheel
- running build
- running build_ext
- cythoning hid.pyx to hid.c
- /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
- tree = Parsing.p_module(s, pxd, full_module_name)
- building 'hid' extension
- creating build
- creating build/temp.macosx-10.13-x86_64-3.7
- creating build/temp.macosx-10.13-x86_64-3.7/hidapi
- creating build/temp.macosx-10.13-x86_64-3.7/hidapi/mac
- Compiling with an SDK that doesn't seem to exist: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
- Please check your Xcode installation
- 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
- clang: warning: -framework IOKit: 'linker' input unused [-Wunused-command-line-argument]
- clang: warning: -framework CoreFoundation: 'linker' input unused [-Wunused-command-line-argument]
- clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk' [-Wmissing-sysroot]
- In file included from hid.c:4:
- /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
- #include <stdio.h>
- ^~~~~~~~~
- 1 error generated.
- error: command 'clang' failed with exit status 1
- ----------------------------------------
- ERROR: Failed building wheel for hidapi
- Running setup.py clean for hidapi
- Failed to build hidapi
- Installing collected packages: Cython, hidapi
- Running setup.py install for hidapi ... done
- Successfully installed Cython-0.29.14 hidapi-0.7.99.post14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement