Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to: Serial
#1
Hi there, I have a problem, I want to connect python to a program that I made with android and bluetooth, I tried with bluez but when I'm attempt install this with pip, I have this error:

Complete output from command python setup.py egg_info:
Could not find the Windows Platform SDK

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\SOME\DIR...

So, i want to try to connect with pyserial, that I installed succefully.

But my problem now, how can I retieve the bluetooth direction of my cellphone?

I'm using windows 10

Thanks
Reply
#2
Take a look at: https://github.com/pybluez/pybluez
and: https://developer.android.com/guide/topi...ermissions
Reply
#3
I download all the git, I tried to install de setup.py, but now the pip is saying that I need to install visual studio 14, So I installed that, and the problem doesn't resolve
Reply
#4
You don't need setup, simple:
pip install pybluz
But please note, this is for python 2.7 only.
Perhaps another choice: https://pypi.org/search/?q=bluetooth
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Serial toggles serial, but no data Saltwater 2 2,559 Sep-08-2019, 12:20 PM
Last Post: Saltwater

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020