Python Forum
[WxPython] [SOLVED]Installing Phoenix in python3 on Linux
Thread Rating:
  • 4 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[WxPython] [SOLVED]Installing Phoenix in python3 on Linux
#1
Hi,
I started to look at wxpython when I first wanted a gui for python. I got the impression it needed a lot of typing to do the simplest of things but tkinter seemed much more straight forward. I saw phoenix mentioned in another thread a few weeks ago and thought I would look again and try to install phoenix but I cannot get it installed on my Linux Mint 18.1 with python system.
Any idea how I might get it installed please?
I have tried various ways
  sudo pip3 install --upgrade --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython_Phoenix 
Failed
Quote:Could not find a version that satisfies the requirement wxPython_Phoenix (from versions: )
No matching distribution found for wxPython_Phoenix
Reply
#2
Just in case anyone else has the same problem here is what I did
I followed the instructions here:
https://uwpce-pythoncert.github.io/Py300...ython.html

When it came to installing the devs I used the package manager but 2 would not install from it.
libtiff-dev failed without reporting an error, just went back to 'Not installed'
freeglut3-dev reported a lot of errors.
I installed both this way:
sudo apt-get install libtiff-dev 
sudo apt-get install freeglut3-dev
I then installed wxPython-4.0.0a3
The demo file were in samples not Examples directory.
Some would not run due to missing modules in my setup. 
For example trying 
python3 samples/floatcanvas/Animation.py 
Gave an error
Quote:Traceback (most recent call last):
  File "samples/floatcanvas/Animation.py", line 13, in <module>
    from numpy import *
ImportError: No module named 'numpy' 




This was easily fixed with
sudo pip3 install numpy
So after trying many suggestions which failed this one worked for me running python 3.5.2 on my Linux Mint 18.1 64 bit with kernel 4.8.0-42-generic #45~16.04.1-Ubuntu SMP.
Reply
#3
As a user of both tkinter (and now wxpython). I would recomment wxpython 100 times more than tkinter, although both
will get the job done, the time involved will be greatly reduced in wxpython, and the shear volume of widgets available in
wxpython just can't compare with tkinter. The geometry managers alone are worth the change, resizing is a breeze in wxpython.

which version of python are you using?

if 3.6.2  (which I would recommend) or any 3 version, then you want to install the Phoenix version of wxpython.
The demos are all in a demos directory and are extensive, and code for each can be displayed while looking at the demo,
you don't have to go looking for them.

wxpython is rapidly moving toward the robustness of Qt.

I, in my humble opinion highly recommend this package. I will be releasing a major application written in Phoenix very
soon, and I am extremely pleased with the ease of creating it, and the quality of the package.

for some samples of what can be done, see: https://wxpython.org/Phoenix/docs/html/gallery.html
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python3/PyQt5/gnuplot on linux erg 1 2,443 Mar-20-2019, 01:57 PM
Last Post: Axel_Erfurt
  Installing/configuring Tkinter on Linux Mint 18? mpd 4 6,414 Jan-02-2018, 10:30 PM
Last Post: mpd

Forum Jump:

User Panel Messages

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