Comments (5)
Hi, I followed as said on link. It tool a lot to download at first, and took really long time to complete the installation with many warnings. Later when i tried to import lightblue i got the following error
In [1]: import lightblue
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/objc/_bridgesupport.py:643: RuntimeWarning: Error parsing BridgeSupport data for IOBluetooth: PyObjCRT_SkipTypeSpec: Got '0x29' at end of union encoding, expecting '0x29'
warnings.warn("Error parsing BridgeSupport data for %s: %s" % (frameworkName, e), RuntimeWarning)
Later i tried to discover devices,
In [2]: lightblue.finddevices()
Exception AttributeError: "'_SyncDeviceInquiry' object has no attribute '_inquiry'" in <bound method _SyncDeviceInquiry.__del__ of <lightblue._lightblue._SyncDeviceInquiry object at 0x104052450>> ignored
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-8-0400d43f1d09> in <module>()
----> 1 lightblue.finddevices()
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/_lightblue.pyc in finddevices(getnames, length)
44
45 def finddevices(getnames=True, length=10):
---> 46 inquiry = _SyncDeviceInquiry()
47 inquiry.run(getnames, length)
48 devices = inquiry.getfounddevices()
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/_lightblue.pyc in __init__(self)
334 super(_SyncDeviceInquiry, self).__init__()
335
--> 336 self._inquiry = _AsyncDeviceInquiry.alloc().init()
337 self._inquiry.cb_completed = self._inquirycomplete
338
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/lightblue/_lightblue.pyc in init(self)
406 "Mac OS X 10.4, are you running an earlier version?")
407
--> 408 self = super(_AsyncDeviceInquiry, self).init()
409 self._inquiry = \
410 _IOBluetooth.IOBluetoothDeviceInquiry.inquiryWithDelegate_(self)
AttributeError: 'super' object has no attribute 'init'
from lightblue-0.4.
Hi, installing this helped me finally
from lightblue-0.4.
I am not able to install the package successfully :
error -
clang: error: no such file or directory: 'Modules/_imagekit.m'
clang: error: no input files
error: command 'clang' failed with exit status 1
Installing 'pyobjc-framework-Quartz' failed (status 1)
from lightblue-0.4.
@SejalChauhan try the pyobjc-3.0.3 release.
It worked for me
from lightblue-0.4.
Yes, after tweaking some settings, it worked for me too. Thanks!
from lightblue-0.4.
Related Issues (13)
- NSInvalidArgumentException on send (El Capitain, python 2.7)
- error on Mac OS X 10.13.1
- unable to install via python HOT 1
- Implicit declaration of function 'IOBluetooth*' is invalid in C99 on macos 11.1 HOT 5
- Can't install light blue on macOS 11.5 HOT 1
- help
- CompileC error
- Unable to successfully import lightblue after installation
- Can't Install on Mac OS 13.2.1 HOT 1
- Signature mismatch for `deviceInquiryComplete:error:aborted`
- Import error HOT 7
- No architectures to compile for (ARCHS=$(NATIVE_ARCH_ACTUAL) HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightblue-0.4.