Problem in PyBluez to connect bitalino via bluetooth

Python, Java, Android OS, etc.
ai.sousa
Posts: 2
Joined: Tue Dec 12, 2017 11:34 am

Problem in PyBluez to connect bitalino via bluetooth

Postby ai.sousa » Tue Dec 12, 2017 3:09 pm

Hi.

I am doing a project where I need to use python API for bitalino. The problem is that for this API I need Pybluez installed (so that 'import bluetooth' command works) but that is not functioning. I cannot install it; it gives an error: "Command "python setup.py egg_info" failed with error code 1 in C:\Users\ANASOU~1\AppData\Local\Temp\pip-build-2miu_wo0\pybluez"

I though it could be due to the python version that I was using (3.6) but I've tried another one and problem remains.

What do you think should be the solution for my problem? I have both python 3.4 and 3.6 installed and a windows10.

Thanks for your time, kind regards,
Ana Sousa

BITalino
Site Admin
Posts: 567
Joined: Tue Aug 27, 2013 3:47 pm

Re: Problem in PyBluez to connect bitalino via bluetooth

Postby BITalino » Tue Dec 12, 2017 3:15 pm

Hi Ana,

Have you tried using Python 2.7?

Best regards,
The BITalino Team

ai.sousa
Posts: 2
Joined: Tue Dec 12, 2017 11:34 am

Re: Problem in PyBluez to connect bitalino via bluetooth

Postby ai.sousa » Tue Dec 12, 2017 4:09 pm

Thank you for the help. It actually worked with python 2.7.

Kind regards,
Ana Sousa


Return to “Programming APIs”




cron