wxpython for python 3.5

192 views
Skip to first unread message

Juvenal Claros

unread,
May 20, 2016, 3:44:23 PM5/20/16
to wxPython-users
hi to all.

somebody know about if there are wxpython for python 3.5

Vlastimil Brom

unread,
May 20, 2016, 4:05:13 PM5/20/16
to wxPython-users
2016-05-20 19:37 GMT+02:00 Juvenal Claros <juve...@gmail.com>:
> hi to all.
>
> somebody know about if there are wxpython for python 3.5
>
Hi,
there are development builds of the Phoenix ve rsion of wxpython,
which also support python 3.5
http://wxpython.org/Phoenix/snapshot-builds/

you have to identify the needed version of the "wheel" file whl for
you python version, operating system etc, e.g.

wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-macosx_10_6_intel.whl
wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-win32.whl
wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-win_amd64.whl

You can (re)install via pip from the command line, e.g. (with the correct path):

C:\myprogs\Python3\Scripts>pip3.5.exe install --upgrade
http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-win32.whl

The phoenix version is not officially released yet, but it works very
well already for my usecases (you have to check bysed on your own
requirements, supported widgets etc., of course).

hth,
vbr

Chris Barker

unread,
May 21, 2016, 8:44:13 PM5/21/16
to wxpython-users
On Fri, May 20, 2016 at 1:05 PM, Vlastimil Brom <vlastim...@gmail.com> wrote:
you have to identify the needed version of the "wheel" file whl for
you python version, operating system etc, e.g.

wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-macosx_10_6_intel.whl
wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-win32.whl
wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-win_amd64.whl

You can (re)install via pip from the command line, e.g. (with the correct path):

or you can do it with one step with pip:

python -m pip install --no-index --find-links=http://wxpython.org/Phoenix/snapshot-builds/ --trusted-host wxpython.org wxPython_Phoenix

(yes, it took me a while to figure out all those flags)

-CHB
 

--

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris....@noaa.gov

David Hughes

unread,
May 23, 2016, 9:55:04 AM5/23/16
to wxPython-users

On Sunday, 22 May 2016 01:44:13 UTC+1, Chris Barker wrote:
On Fri, May 20, 2016 at 1:05 PM, Vlastimil Brom <vlastim...@gmail.com> wrote:
you have to identify the needed version of the "wheel" file whl for
you python version, operating system etc, e.g.

wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-macosx_10_6_intel.whl
wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-win32.whl
wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp35-cp35m-win_amd64.whl

You can (re)install via pip from the command line, e.g. (with the correct path):

or you can do it with one step with pip:

python -m pip install --no-index --find-links=http://wxpython.org/Phoenix/snapshot-builds/ --trusted-host wxpython.org wxPython_Phoenix

(yes, it took me a while to figure out all those flags)

-CHB

 A thousand thanks for that Chris. I'd managed to install a snapshot build by explicitly naming the .whl file a week or two ago but now, no matter what I tried, I kept getting a response like

(env3.4) E:\PyDevSrc7\Dp710>python -m pip install --upgrade http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp34-cp34m-win32.whl

wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp34-cp34m-win32.whl is not a supported wheel on this platform.

Your way worked perfectly. The only thing I needed to add was the --upgrade flag.

--
David Hughes
Forestfield Software

Chris Barker

unread,
May 23, 2016, 12:35:17 PM5/23/16
to wxpython-users
On Mon, May 23, 2016 at 6:55 AM, David Hughes <d...@forestfield.co.uk> wrote:
python -m pip install --no-index --find-links=http://wxpython.org/Phoenix/snapshot-builds/ --trusted-host wxpython.org wxPython_Phoenix

 


wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp34-cp34m-win32.whl is not a supported wheel on this platform.

that's a py3.4 wheel -- are you running 3.5 now? also win32 -- are you running win32 or win64? but letting pip figure that out for you is a better way to go
 
Your way worked perfectly. The only thing I needed to add was the --upgrade flag.

Ah yes -- you'll need that if you already have an older version installed. So the complete command is:

python -m pip install --upgrade --no-index --find-links=http://wxpython.org/Phoenix/snapshot-builds/ --trusted-host wxpython.org wxPython_Phoenix

 nice and short and simple....

:-)

-CHB

Steve Barnes

unread,
May 23, 2016, 12:47:11 PM5/23/16
to wxpytho...@googlegroups.com


On 23/05/2016 17:34, Chris Barker wrote:
> On Mon, May 23, 2016 at 6:55 AM, David Hughes <d...@forestfield.co.uk
> <mailto:d...@forestfield.co.uk>> wrote:
>
> python -m pip install --no-index
> --find-links=http://wxpython.org/Phoenix/snapshot-builds/
> --trusted-host wxpython.org <http://wxpython.org> wxPython_Phoenix
>
>
>
> /(env3.4) E:\PyDevSrc7\Dp710>python -m pip install --upgrade
> http://wxpython.org/Phoenix/snapshot-builds/wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp34-cp34m-win32.whl
>
> wxPython_Phoenix-3.0.3.dev2043+6aacc38-cp34-cp34m-win32.whl is not a
> supported wheel on this platform.
> /
>
>
> that's a py3.4 wheel -- are you running 3.5 now? also win32 -- are you
> running win32 or win64? but letting pip figure that out for you is a
> better way to go
>
>
> //Your way worked perfectly. The only thing I needed to add was the
> *--upgrade* flag.
>
>
> Ah yes -- you'll need that if you already have an older version
> installed. So the complete command is:
>
> python -m pip install --upgrade --no-index
> --find-links=http://wxpython.org/Phoenix/snapshot-builds/ --trusted-host wxpython.org
> <http://wxpython.org/> wxPython_Phoenix
>
> nice and short and simple....
>
> :-)
>
> -CHB
>
>
>
Note if you have both Python 2 & 3 installed you will need pip3 rather
than pip, (I find that the current version doesn't build for me on python2).

I would also strongly recommend setting up and activating a virtual
environment when testing.
--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.

David Hughes

unread,
May 23, 2016, 1:19:05 PM5/23/16
to wxpytho...@googlegroups.com
On 23/05/2016 17:34, Chris Barker wrote:
that's a py3.4 wheel -- are you running 3.5 now?

No, I'm running Python 3.4 as I still want to be able to support Windows XP



On 23/05/2016 17:47, Steve Barnes wrote:
I would also strongly recommend setting up and activating a virtual
environment when testing.

My different versions, both 2.7 and 3.4,  are inside their own virtual environments
-- 
Regards

David Hughes
Forestfield Software

Chris Barker

unread,
May 23, 2016, 3:46:18 PM5/23/16
to wxpython-users
On Mon, May 23, 2016 at 9:47 AM, Steve Barnes <gadge...@live.co.uk> wrote:
Note if you have both Python 2 & 3 installed you will need pip3 rather
than pip, (I find that the current version doesn't build for me on python2).

yeah -- I was assuming a modicum of pip awareness :-)

but note that I suggested:

python -m pip install ......

which assures that you get the the pip associated with "python" -- if you have py2 and py3, you may want:

python3 -m pip .....


-CHB



 

I would also strongly recommend setting up and activating a virtual
environment when testing.
--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages