OS: Windows 10 64-bit
Language: Python 3.5.2 (Anaconda 4.2.0)
Problem Module: PyBluez 0.22 (PyBluez-0.22-cp35-none-win_amd64.whl)
When I attempt to import PyBluez after installation ie:
I am getting the following error:
I updated Spyder via pip and I have also tried uninstalling and re-installing the module via pip:
EDIT:
I only have python 3.5.2 installed:
As per the comments. You installed the python package PyBluez
for python3.5.2, but spyder is using 3.6.
This answer says
Press CTRL+SHIFT+ALT+P to open the Preferences window. Within this window, select the Console item on the left, then the Advanced Settings tab. The path to the Python executable will be right there.
to change the python executable.
A hackish solution is to run this from within the script in spyder
import pip; pip.main(['install','PyBluez'])