Installation

Requirements

explorepy is using pybluez as the bluetooth backend. pybluez has different dependencies in different operating systems.

Windows

  • Visual C++ 2010 Express for build
  • Visual Studio 2017 community edition (In order to build 64-bit debug and release executables)

Linux

  • Python distutils
  • Bluez and header files
  • sudo apt-get install libbluetooth-dev

Mac OS

  • Xcode
  • PyObjc 3.1b or later

For more details on pybluez dependencies please see pybluez docs.

How to install (Windows)

This instructions guides you to install Explorepy API with all its dependencies on Windows.

  1. Install Python 3 on your computer. It is recommended to install Anaconda Python package. Download and install Anaconda Python 3.7 Windows installer from here.
  2. Download and install MS Visual Studio Community Edition 2017 (or 2015) from this link. Make sure you check Python and C++ development tools.
  3. We recommend using a virtual environment.
  • In Conda command prompt: conda create -n myenv python=3.6
  • Activate the virtual environment: conda activate myenv
  1. Upgrade your pip: python -m pip install --upgrade pip
  1. To install explorepy from PyPI run: pip install explorepy

Quick test

  • Open Conda command prompt
  • Activate the virtual environment: conda activate myenv
  • explorepy visualize -n <YOUR-DEVICE-NAME> -c 4 (Change the number of channels if needed)
  • To stop visualization press Ctrl+c