Well, what I advise is to contact Thonny support, this problem is not related to Meraki. You can also use the free version of Pycharm, they have very extensive documentation.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.