Hi
I’m attempting to use the debugger but it’s failing with:-
undefinedERROR:root:cython-hidapi is required on a Mac OS X Machine
Visual Studio Code 1.33.1
PIO Home 2.00 / Core 3.6.6
Checking size .pioenvs/frdm_kl25z/firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
DATA: [== ] 20.0% (used 3277 bytes from 16384 bytes)
PROGRAM: [==== ] 35.5% (used 46584 bytes from 131072 bytes)
========================= [SUCCESS] Took 3.31 seconds =========================
Reading symbols from /Users/sl/Documents/PlatformIO/Projects/LoopyTest/.pioenvs/frdm_kl25z/firmware.elf...
done.
undefinedERROR:root:cython-hidapi is required on a Mac OS X Machine
NameError: global name 'hid' is not defined
uncaught exception: global name 'hid' is not defined
pip list confirms hidapi is installed (and I’ve tried removing / re-installing it).
Any suggestions would be appreciated!
Steves-MBP:LoopyTest sl$ pip list
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Package Version
-------------- -------------
blink1 0.2.3
cffi 1.7.0
Click 7.0
colorama 0.3.3
Cython 0.29.2
futures 3.0.5
hidapi 0.7.99.post21
mechanize 0.2.5
mutagen 1.30
olefile 0.44
pip 19.0.3
pycparser 2.14
pyspotify 2.0.5
requests 2.10.0
schedule 0.3.2
selenium 3.0.2
setuptools 41.0.0
webcolors 1.8.1