I can't get to install spynner
on Mac OS X 10.9.1 (Mavericks). I get the following error:
error: command 'cc' failed with exit status 1
to mention that the error is thrown when the autopy
dependency is installed. I have the Xcode, command line tools installed.
cc --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix$
Any help would be highly appreciated. Thank you.
I ran into this same problem and I finally fixed it. Make sure your command line tools are up to date and then build autopy from src. For Xcode 5.1 (OSX 10.9) and Xcode 5.1.1 (OSX 10.10), run the following to download and install the latest command line tools:
Once finished, download autopy:
Install autopy:
Install Spynner using pip:
Hopefully this saves someone out there some time in the future! **Note: In the past I already had the command line tools installed. Since I just updated to 10.10, it appears that I had to reinstall them. Makes sense.