Comments (11)
Hello,
what exactly fails?
What is the output of "python setup.py install"?
What Python version are you using?
Please make sure that you have the Platform SDK installed and one of the
following
Paths exists:
ProgramFiles\Microsoft Platform SDK for Windows XP SP2
ProgramFiles\Microsoft Platform SDK
ProgramFiles\Microsoft SDKs\Windows\v6.0A
Lukas
Original comment by [email protected]
on 10 Mar 2010 at 8:47
from pybluez.
Something had went wrong with my setup. Please disregard this issue
Thanks!
Original comment by rene.f.aguirre
on 11 Mar 2010 at 2:58
from pybluez.
What about building for windows 7 64bit ?
Its still looking for Microsoft Platform SDK for Windows XP .
Gives the error:
D:\downloads\PyBluez-0.18\PyBluez-0.18>python setup.py install
Can't find the Windows XP Platform SDK
Any work around ?
Commenting out the check for the Platform sdk gives this:
D:\downloads\PyBluez-0.18\PyBluez-0.18>python setup.py install
running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
creating build\lib.win-amd64-2.7\bluetooth
copying bluetooth\bluez.py -> build\lib.win-amd64-2.7\bluetooth
copying bluetooth\btcommon.py -> build\lib.win-amd64-2.7\bluetooth
copying bluetooth\msbt.py -> build\lib.win-amd64-2.7\bluetooth
copying bluetooth\osx.py -> build\lib.win-amd64-2.7\bluetooth
copying bluetooth\widcomm.py -> build\lib.win-amd64-2.7\bluetooth
copying bluetooth\__init__.py -> build\lib.win-amd64-2.7\bluetooth
running build_ext
building 'bluetooth._msbt' extension
error: Unable to find vcvarsall.bat
I'm running windows 7 64 bit , visual studio 2010(full install including
platform sdk)
vcvarsall.bat is in C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC
Windows sdk is in
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A
I've tried modifying setup.py but it appears the troubles in distutils ?
Doesn't seem to be aware of visual studio 2010 ?
Thanks
Alex
Original comment by [email protected]
on 26 Sep 2010 at 3:53
from pybluez.
I'm having the same problem with Win7x64. I've also tried modifying the path
in setup.py to v7.0 but then the build fails with a gcc error about not
finding sal.h.
any help?
My apologies if this is too similar to previous posts.
cheers,
Mike
Original comment by [email protected]
on 1 Mar 2011 at 8:29
from pybluez.
I am having the same problem. I tried editing the install but I get the error:
package directory 'bluetooth' does not exist
When running build.py, when it clearly does exist. Windows 7 x64
Original comment by [email protected]
on 1 Nov 2011 at 4:45
from pybluez.
So did anyone resolve this, or is it still an open issue?
Original comment by [email protected]
on 11 Jan 2012 at 12:03
from pybluez.
I got PyBluez to install under Win7x64 under Python 2.7 32bit.
You need to install a few dependencies to get it to build properly;
Microsoft Windows SDK 7.1
Visual C++ 2008 Express
BTW SDK: http://www.broadcom.com/support/bluetooth/sdk.php
Then I edited setup.py to point to the proper paths. See attached. Make sure
python compiles with VC++ and not mingw.
Original comment by [email protected]
on 27 Feb 2012 at 3:44
Attachments:
from pybluez.
I have a working build and will release it with PyBluez 0.19.
Original comment by [email protected]
on 27 Feb 2012 at 9:05
from pybluez.
I've installed Microsoft Windows SDK 7.1 and VC++ 2008 Express but I still have
the following error after the execution of the command:
File "C:\Python27\lib\distutils\msvc9compiler.py", line 299, in query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: [u'path']
I resolved the problem by executing myself the vcvars32.bat in "C:\Program
Files (x86)\Microsoft Visual Studio 9.0\VC\bin\" and re-executing the
'python.exe setup.py install' command in the same cmd.exe. It seems that the
argument passed to vcvarsall.bat is "x64" (because I'am on Win7 x64?) and
distutils cannot find the vcvars32.bat which finally execute the "C:\Program
Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat" file.
Original comment by [email protected]
on 8 Mar 2012 at 11:10
from pybluez.
I've followed the steps outlined in Comment 7, but can't import the bluetooth
module on Win7 64-bit after doing so. I get the following:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "bluetooth\__init__.py", line 31, in <module>
from msbt import *
File "bluetooth\msbt.py", line 2, in <module>
import _msbt as bt
ImportError: No module named _msbt
Hoping for a suggestion or next steps. TIA.
Original comment by [email protected]
on 3 Oct 2012 at 7:51
from pybluez.
Most recent build instructions are now in repo - revision r61
README file
Original comment by [email protected]
on 19 Jan 2014 at 7:03
- Changed state: Fixed
from pybluez.
Related Issues (20)
- error communicating with local bluetooth adapter on raspberry pi HOT 2
- Patch for /trunk/examples/simple/inquiry.py HOT 1
- warnings during build for windows (ms visual studio 2010 express) HOT 1
- PyBluez never accepting connection - my fix! HOT 4
- advertise_service fails in fedora 20 HOT 2
- pybluez Installtion on Mac HOT 2
- bt.connect(self._sockfd, addr, port) HOT 2
- PyBluez and HC-05/HC-06 bluetooth serial devices ignore each other's valid services HOT 3
- Debian package not updated. apt-get installs 0.18-2 instead of 0.20 HOT 1
- python3 UnicodeDecodeError in DeviceDiscoverer find_devices HOT 3
- Support for Bluetooth Low Energy (BLE) / GATT HOT 2
- Windows installer (PyBluez-0.20.win32-py3.3.exe) dies during installation on windows 7 HOT 1
- Can Not Install on Windows 7 64 Bit With Any Version of Python Installed HOT 1
- Async Device Discovery fails HOT 2
- No adapter detected - WP8.1 HOT 3
- Warnings during compilation on linux HOT 1
- RSSI info not passed on by DeviceDiscoverer HOT 1
- Installing pyblues from 0.20 sources on Ubuntu HOT 2
- Problem with iqnuiring unicode names on windows8.1 with python3.4 HOT 2
- No way to select device id for device discovery HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybluez.