Upgrading PySimpleGUI
Upgrading To The Latest Major Release
To upgrade to the newest version of PySimpleGUI from PyPI, you'll use this command:
python -m pip install --upgrade PySimpleGUI
Note the --upgrade flag. If you do not include this flag then Python will not install any version of PySimpleGUI if you've already installed PySimpleGUI previously.
Sometimes adding the flag --no-cache-dir is needed if you're trying to get a newly released version.
python -m pip install --upgrade --no-cache-dir PySimpleGUI
Just as with the initial install, on Linux systems, you may need to add sudo to the start of the command line.
Upgrading To a Development Build
The latest development build is located on GitHub. You can directly pip install it by running the command:
python -m pip install --upgrade https://github.com/PySimpleGUI/PySimpleGUI/zipball/master
Recovering From a Bad Development Build Release
If you run into a problem upgrading after upgrading to a Development Build, you can likely use pip to uninstall, then re-install from PyPI to see if you can upgrade to a Development Build again.
pip uninstall PySimpleGUI
pip install PySimpleGUI
Using Home Window
To open the PySimpleGUI Home Window, type psghome from the command line, or call sg.main() from your application (or a REPL prompt)
One advantage to using the Home Window is that you can see your current PySimpleGUI version number as well as the most recent version on PyPI and the current Development Build version number.
To upgrade, click the red "Get Latest Development Build" button.