Sorry -- I've since removed the problematic code as a workaround. Here's a version that runs into a stackprinter issue --
https://github.com/tabreturn/thonny-py5mode/blob/stackprinter-version/thonnycontrib/thonny-py5mode/__init__.py
On line 11, there's an import py5_tools. It's py5_tools that leverages stackprinter. As I explained originally, this works fine on macOS and Linux, but fails on Windows.
Any ideas?
Thanks
T