I am having pip3 difficulty installing hidapi: a question was asked if Xcode is installed.
To verify Xcode Installation instructions provide two commands for verifying Xcode command tools:
My tests:
$ ls -l /Applications/Xcode.app/
ls: /Applications/Xcode.app/: No such file or director
$ ls -l /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
ls: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs: No such file or directory
$ /usr/bin/xcodebuild -version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
$ xcode-select -p
/Library/Developer/CommandLineTools
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
$ gcc
clang: error: no input files
$ xcode-select -p
/Library/Developer/CommandLineTools
$ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
QUESTIONS
- Can I eliminate Xcode as the problem?
- Maybe Xcode is installed but needs to be configured?
ls -l /Applications/.../SDKs/
with the leading '/' character and posted the results at the top of the test list – gatorback Dec 05 '19 at 16:07