VernierST / godirect-py

A Python module for reading from Vernier Go Direct® Sensors using USB or BLE.
GNU General Public License v3.0
8 stars 9 forks source link

Issue with python version 3.6 #33

Open chonenome opened 1 month ago

chonenome commented 1 month ago

I I want to use GDX-RB in a python 3.6 environment. However, when installing godirect using pip, an error occurs during the installation of bleak-winrt. There is no problem with installation in Python 3.7 or 3.8 environments, but the problem occurs only in 3.6. Is there a way to use it in a python 3.6 environment?

sswartley commented 1 month ago

Hello,

The godirect library has two dependent libraries that get installed. These are bleak and hidapi. The bleak library is used for bluetooth communication, and hidapi for usb. It appears that bleak dropped support for python 3.6 with version 0.13.0. You could install godirect without the bleak dependency, and then install a version of bleak that does work with python 3.6 (that appears to be bleak 0.12.1).

All the best,

Sam