-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Question] Import error #6744
Comments
import os gives the error: ModuleNotFoundError: No module named 'PySimpleGUI' |
Please send licensing questions via email to [email protected] It appears you're trying to specify the key as if it were a Distribution key. If you're trying to use your normal key ( a Developer Key), then that needs to be input into the Home Window. You'll find more info in the documentation: And in the FAQ: This sounds more like an install problem, not a license key problem. Did you pip install within PyCharm/VS Code? Have you pip installed other modules successfully? Does your program run outside of an IDE from the command line? |
How did you install PySimpleGUI? You should be able to import the module without getting a "not found" error regardless of licensing or PySimpleGUI version. Sounds like you may be running a virtual environment in your IDEs and need to install from within VSCode and PyCharm. |
Type of Issue (Enhancement, Error, Bug, Question)
Error
Operating System
macOs Sonoma 14.1
PySimpleGUI Port (tkinter, Qt, Wx, Web)
tkinter
Versions
Version information can be obtained by calling
sg.main_get_debug_data()
Or you can print each version shown in ()
Python version (
sg.sys.version
)PySimpleGUI Version (
sg.__version__
)5.0
GUI Version (tkinter (
sg.tclversion_detailed
), PySide2, WxPython, Remi)tkinter
Your Experience In Months or Years (optional)
3 months
Years Python programming experience
Years Programming experience overall
30
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
yes
Anything else you think would be helpful?
Troubleshooting
These items may solve your problem. Please check those you've done by changing - [ ] to - [X]
Detailed Description
Code To Duplicate
A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)
This pre-formatted code block is all set for you to paste in your bit of code:
# Paste your code here
Screenshot, Sketch, or Drawing
Watcha Makin?
If you care to share something about your project, it would be awesome to hear what you're building.
The text was updated successfully, but these errors were encountered: