Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not resolve import #89

Open
CrypticVader opened this issue Jan 8, 2022 · 0 comments
Open

Could not resolve import #89

CrypticVader opened this issue Jan 8, 2022 · 0 comments

Comments

@CrypticVader
Copy link

CrypticVader commented Jan 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant