Python Forum

Full Version: [PySimpleGUI]Install package on Conda not up-to-date
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

If I install PySimpleGUI using Conda in a Conda (Miniconda / Anaconda) environment, the installed version is 4.6.0, while the current version of PySimpleGUI is 4.15.0 .
Does anybody have an idea who or where I can ask to upload the latest version to Conda?

I tried to use pip3 but that installs PySimpleGUI outside my Conda environment.

Kind regards
you can raise an issue on their GitHub repo https://github.com/PySimpleGUI/PySimpleGUI/issues

Also user @PySimpleGUI is the maintainer but they haven't been online on the forum for six months. Still you can try to contact them
Thanks for your advice.
I sent a mail to @PySimpleGUI . If I don't hear from him, I will post this as an 'issue' on GitHub.
I already looked into that before coming here, but it seemed a bit like overkill ... Smile

Kind regards

I got an email reply from @PySimpleGUI , saying he doesn't know who uploaded PySimpleGUI to Conda.
In fact, he prefers to see it removed from there because that is not officially supported.

I will make another effort to try and install PySimpleGUI in my Conda environment, using the single file PySimpleGUI.py.
If that doesn't work, I will post something on GitHub as an issue.

Kind regards
(Jan-22-2020, 02:59 PM)RayJohnson Wrote: [ -> ]I tried to use pip3 but that installs PySimpleGUI outside my Conda environment.
You most use the pip that comes with Anaconda.
Anaconda works the same if use conda or it's own pip.
Quick example,works fine.
# See that pip point to Anaconda
# As is not in my Path i do from Script folder where pip is
G:\Anaconda3\Scripts
λ pip -V
pip 19.3.1 from g:\anaconda3\lib\site-packages\pip (python 3.7)

# Install
G:\Anaconda3\Scripts
λ pip install pysimplegui
Collecting pysimplegui
  Downloading ...
Installing collected packages: pysimplegui
Successfully installed pysimplegui-4.15.2

# One down
G:\Anaconda3\Scripts
λ cd ..

# Copy from site and run
# Point to Anaconda
G:\Anaconda3
λ python -c "import sys; print(sys.executable)"
G:\Anaconda3\python.exe

# Copy
λ vim simple_g.py
# Run
λ python simple_g.py
Thank you!
I indeed figured this out too!

Just running 'any' pip install uses the 'global pip', installing PySimpleGUI in the 'global' python install.
You need to run the pip, installed in the Conda environment.
It is explained clearly here:
https://tomroth.com.au/pip-conda/

I navigated to the Conda env directory that contained pip, and I executed:
pip.exe install --upgrade PySimpleGUI
This upgraded the Conda installed PySimpleGUI 4.6.0 to 4.15.2

Thanks again!