-
Notifications
You must be signed in to change notification settings - Fork 117
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
ModuleNotFoundError: No module named 'global_state' #213
Comments
@kemjim did you by chance name any of your Python files or project directories as Can you provide the full stacktrace? |
Hello @spyoungtech, I didn't name any files as easygui or boxes. My directory name is photo_project. I have a virtual environment in that directory where I installed rembg and easygui. |
Hi @kemjim - likely you need to install the tkinter library. Can you try installing the dependent library. Assuming 'nix, something like: And let us know how you get on, please? This might be useful too: Side note: it isn't a very helpful error message that you see - we should maybe have easygui do a check at import time so that we could prefix the ModuleNotFound error with some helpful text. |
i wonder can't we use easygui with tk by installing from pip? |
I am using Python 3.9.12 and I installed easygui.
When I import it, it says "ModuleNotFoundError: No module named 'global_state'"
Did anyone have a similar issue? If so, how did you resolve it?
The text was updated successfully, but these errors were encountered: