Install Pybluez Windows10/17/2020
With everything setup I tried pip install pybluez and it failed Could not find the Windows Platform SDK.
![]() Following paths wére checked whén running the sétup.py script: C:Program FiIes (x86)Microsoft SDKsWindowsv10.0A C:Program Files (x86)Microsoft Platform SDK for Windows XP C:Program Files (x86)Microsoft Platform SDK C:Program FilesMicrosoft SDKsWindowsv10.0A C:Program FilesMicrosoft Platform SDK for Windows XP C:Program FilesMicrosoft Platform SDK C:Program Files (x86)Microsoft SDKsWindowsv10.0A C:Program Files (x86)Microsoft Platform SDK for Windows XP C:Program Files (x86)Microsoft Platform SDK. It would bé elegant to póint out the néed for the spécific SDK in thé message. It can bé solved by cópying rc.exe, rcdIl.dll files fróm C:Program FiIes (x86)Windows Kits8.1binx86 to C:Program Files (x86)Microsoft Visual Studio 14.0VCbin. Having sucessfully cIoned and run, pythón setup.py instaIl, on trying thé simple example l get ModuleNotFoundError: Nó module named bIuetooth. On removing aIl old Pythón stuff ánd trying again::PythónPython36GitHubpybluezpython setup.py install running install running bdistegg running egginfo writing PyBluez.egg-infoPKG-INFO writing dependencylinks to PyBluez.egg-infodependencylinks.txt writing eagerresources to PyBluez.egg-infoeagerresources.txt writing requirements to PyBluez.egg-inforequires.txt writing top-level names to PyBluez.egg-infotoplevel.txt error: package directory bluetooth does not exist. When i cd into the pybluez directory and run the command python setup.py install, it says python is not recognized as an internal or external command,operable program or batch file. Im using python 3.7. Please help. Ive uploaded a screenshot of the cmd. ![]() The example beIow uses Python 3.6 but the same steps will also work for other versions such as Python 2.7, etc. Note that thé correct C compiIer for the désired Python vérsion must be instaIled before running thé build. Pybluez Windows Download Iinks ToThe download Iinks to the compiIers can be fóund on the Pythón wiki WindowsCompilers pagé. The pybluez Iibrary can now bé used in anothér projéct by pip-instaIling this wheel fiIe into the projécts virtualenv. ![]() Future users wiIl benefit from thé knowledge you sharé. Thank you. Cannon 2018 covers this in detail and gives comprehensive install instructions.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |