SoonSYJ / pybluez

Automatically exported from code.google.com/p/pybluez
GNU General Public License v2.0
0 stars 0 forks source link

pybluez Installtion on Mac #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Download the latest zip file(PyBluez-0.20)
2. Move to the Root directory and issue pip installor pybluez sudo easy_install 
pybluez commands
3.Installation errors in the Terminal 

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

0.20
Mac OSX 10.9.1
Python 2.7.5

Please provide any additional information below.

Is pybluez supports Mac OS ?

Original issue reported on code.google.com by imobil...@gmail.com on 18 Feb 2014 at 7:19

Attachments:

GoogleCodeExporter commented 8 years ago
There is code in PyBluez that should support BT on Mac
But it seems it has not been updated since 2007, so most likely it is totally 
outdated

I dont have enviroment to update PyBluez for Mac, so feel free to do so

Original comment by karu...@wp.pl on 18 Feb 2014 at 9:11

GoogleCodeExporter commented 8 years ago
I have looked through the source code and there is no support for OSX for the 
moment. If you had been successful to compile the c-code, then when you import 
PyBluez you will get a NotImplementedError ( 
https://code.google.com/p/pybluez/source/browse/trunk/bluetooth/osx.py ).

The c-code uses deprecated functions and it is recommended to use Objective-C 
library instead. In the newer versions of OSX have Objective-C to Python 
bindings included (PyObjc) so that it can use the native libs. There is a 
Python package that gives you bluetooth in python and it have searchable name 
Lightblue. It have not be developed for a long time.

Original comment by eli87as@gmail.com on 3 Mar 2014 at 9:58