Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install light blue on macOS 11.5 #16

Open
Zepp-lin opened this issue Jul 26, 2021 · 1 comment
Open

Can't install light blue on macOS 11.5 #16

Zepp-lin opened this issue Jul 26, 2021 · 1 comment

Comments

@Zepp-lin
Copy link

lightblue-0.4 % sudo python setup.py install
Password:
running install
running build
running build_py
running install_lib
byte-compiling /Users/timothedesbordes/opt/anaconda3/lib/python3.8/site-packages/lightblue/_bluetoothsockets.py to _bluetoothsockets.cpython-38.pyc
File "/Users/timothedesbordes/opt/anaconda3/lib/python3.8/site-packages/lightblue/_bluetoothsockets.py", line 391
except _socket.error, err:
^
SyntaxError: invalid syntax

byte-compiling /Users/timothedesbordes/opt/anaconda3/lib/python3.8/site-packages/lightblue/_lightblue.py to _lightblue.cpython-38.pyc
File "/Users/timothedesbordes/opt/anaconda3/lib/python3.8/site-packages/lightblue/_lightblue.py", line 60
except _lightbluecommon.BluetoothError, e:
^
SyntaxError: invalid syntax

byte-compiling /Users/timothedesbordes/opt/anaconda3/lib/python3.8/site-packages/lightblue/_macutil.py to _macutil.cpython-38.pyc
File "/Users/timothedesbordes/opt/anaconda3/lib/python3.8/site-packages/lightblue/_macutil.py", line 43
kIOBluetoothServiceBrowserControllerOptionsNone = 0L
^
SyntaxError: invalid syntax

running install_egg_info
Removing /Users/timothedesbordes/opt/anaconda3/lib/python3.8/site-packages/lightblue-0.4-py3.8.egg-info
Writing /Users/timothedesbordes/opt/anaconda3/lib/python3.8/site-packages/lightblue-0.4-py3.8.egg-info
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild install -target LightAquaBlue -configuration Release DSTROOT=/ INSTALL_PATH=/Library/Frameworks DEPLOYMENT_LOCATION=YES

User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
DEPLOYMENT_LOCATION = YES
DSTROOT = /
INSTALL_PATH = /Library/Frameworks

note: Using new build system
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
error: unable to find sdk '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.4u.sdk' (in target 'LightAquaBlue' from project 'LightAquaBlue')
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'LightAquaBlue' from project 'LightAquaBlue')

** INSTALL FAILED **

@yeSpud
Copy link

yeSpud commented Sep 25, 2021

Try running with python2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants