This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRFConnect 1.1.0 / Installing on macOS / Installing additional Python dependencies problem


My system: MacBook Air with macOS 10.14.6, Xcode 10.3, with sdk at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk

When I ran the pip3 command to install the additional python dependencies

pip3 install -r zephyr/scripts/requirements.txt

I ran into the following warning:

building 'hid' extension
creating build
creating build/temp.macosx-10.14-x86_64-3.7
creating build/temp.macosx-10.14-x86_64-3.7/hidapi
creating build/temp.macosx-10.14-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.15.sdk
Please check your Xcode installation

I have no idea how and why MacOSX10.15.sdk is used for this 'hid' extension building given that my macOS is 10.14.6.

Any ideas?

Related