Python Forum
[PySimpleGUI]Install package on Conda not up-to-date
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PySimpleGUI]Install package on Conda not up-to-date
#1
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
Reply
#2
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
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
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
Reply
#4
(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
Reply
#5
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!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PySimpleGUI] New GUI Package. Customize with ease PySimpleGUI 38 24,998 Aug-22-2018, 05:28 AM
Last Post: PySimpleGUI

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020