ttkwidgets
ttkwidgets copied to clipboard
Could not resolve import
I was trying to use ttkwidgets in vscode, after installing it via pip which went properly. But vscode threw an error saying the module ttkwidgets is missing when I tried importing it. But when I used it via IDLE, it worked properly.
But I did manage to resolve it,
What I did is downloading this repo, then modified setup.py according to this comment https://github.com/TkinterEP/ttkwidgets/pull/10#commitcomment-23576599
After running this setup with the command python setup.py sdist
ttkwidgets is working properly.
btw, my python is v3.10.1 and ttkwidgets is v0.12.1
And here's the modified setup setup.txt