When running the example script #1 in Ubuntu 16.04 under Python 3.6 AS ROOT, I get the following error: "Bluetooth scanning requires root privilege, so please run the script as "sudo". Exiting..."
I have tried running with the sudo command as well, with same result. I looked in the manager.py file, and I see that this error is being raised by an actual BTLEException, so this is not something I should probably try to override. Any idea what's going on here? By the way, when I try to run the script under Python2.7, it throws syntax errors, so I'm assuming it was written for Python3, even though the SDK itself says it's compatible with 2.7.
When running the example script #1 in Ubuntu 16.04 under Python 3.6 AS ROOT, I get the following error: "Bluetooth scanning requires root privilege, so please run the script as "sudo". Exiting..."
I have tried running with the sudo command as well, with same result. I looked in the manager.py file, and I see that this error is being raised by an actual BTLEException, so this is not something I should probably try to override. Any idea what's going on here? By the way, when I try to run the script under Python2.7, it throws syntax errors, so I'm assuming it was written for Python3, even though the SDK itself says it's compatible with 2.7.