Search code examples
pythonbluetoothpippybluez

Error downloading pybluez on windows 10 with python 3.7 (64-bit)


I was attempting to download the python module one windows 10 pybluez (using the cmd pip install pybluez, when I had this error:

Collecting pybluez Using cached https://files.pythonhosted.org/packages/c1/98/3149481d508bee174335be6725880f00d297afebe75c15e917af8f6fe169/PyBluez-0.22.zip 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:\Users\hartenc\AppData\Local\Temp\pip-install-r9kn6698\pybluez\

After extensive research, I was still unable to figure out why it wasn't working, so any help would be very beneficial. BTW I am using python 3.7. Thanks!


Solution

  • First of all make sure that the location you are looking for is not hidden. In my case I had pip installed but the python directory wasn't showing up. Then make sure you have windows 10 SDK installed. You should have 19.0.3 v of pip in the python directory. If not then check: https://datatofish.com/upgrade-pip/

    Once you have correct version of pip, launch powershell/command prompt and type in: pip install PyBluez-win10.