tabreturn / thonny-py5mode

A py5 plug-in for Thonny
Do What The F*ck You Want To Public License
23 stars 8 forks source link

Missing import for `get_python_lib` #15

Closed aivarannamaa closed 2 years ago

aivarannamaa commented 2 years ago

It looks like at https://github.com/tabreturn/thonny-py5mode/blob/57131aa9a2e2c1d45f9dd8601e1b36fda81c0790/thonnycontrib/thonny-py5mode/__init__.py#L148 name get_python_lib is not imported. I ended up in this branch while testing py5mode in a venv.

I could overcome the error by adding from distutils.sysconfig import get_python_lib before this line.

tabreturn commented 2 years ago

Thanks, @aivarannamaa. I've added this line.