Unable to get started with wxPython 4 & Python 3 on windows 10
"Christian O." <[email protected]> Fri, 17 May 2019 11:41:53 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_1149_411936956.1558118513038 Content-Type: multipart/alternative; boundary="----=_Part_1150_1535043990.1558118513039" ------=_Part_1150_1535043990.1558118513039 Content-Type: text/plain; charset="UTF-8" I've been trying for to install wxpython but every time I install it with pip: C:\Users\Christian>pip install wxPython > Collecting wxPython > Using cached https: > //files.pythonhosted.org/packages/bd/6e/ce469293cf6f7e391c11ec31161a9d6d0f2acffd05da2fb27bb3b3d81d1e/wxPython-4.0.4-cp37-cp37m-win_amd64.whl > Requirement already satisfied: six in c:\users\christian\appdata\local\ > programs\python\python37\lib\site-packages (from wxPython) (1.12.0) > Requirement already satisfied: Pillow in c:\users\christian\appdata\local\ > programs\python\python37\lib\site-packages (from wxPython) (6.0.0) > Installing collected packages: wxPython > Successfully installed wxPython-4.0.4 > > > I try to run import wx app = wx.App() frame = wx.Frame(parent=None, title='Hello World') frame.Show() app.MainLoop() But every time it builds in sublime, no frame/window appears. I'm not sure what to do. all the guides online just say to use pip to install and have vs 2015 installed. -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxPython-dev/fa9d2dbe-1f33-4725-8280-783239cc4a65%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_1150_1535043990.1558118513039 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I've been trying for to install wxpython but every tim= e I install it with pip:<br><br><blockquote style=3D"margin: 0 0 0 40px; bo= rder: none; padding: 0px;"><blockquote class=3D"gmail_quote" style=3D"margi= n: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-le= ft: 1ex;"><div class=3D"prettyprint" style=3D"background-color: rgb(250, 25= 0, 250); border-color: rgb(187, 187, 187); border-style: solid; border-widt= h: 1px; overflow-wrap: break-word;"><code class=3D"prettyprint"><div class= =3D"subprettyprint"><span style=3D"color: #000;" class=3D"styled-by-prettif= y">C</span><span style=3D"color: #660;" class=3D"styled-by-prettify">:\</sp= an><span style=3D"color: #606;" class=3D"styled-by-prettify">Users</span><s= pan style=3D"color: #660;" class=3D"styled-by-prettify">\</span><span style= =3D"color: #606;" class=3D"styled-by-prettify">Christian</span><span style= =3D"color: #660;" class=3D"styled-by-prettify">></span><span style=3D"co= lor: #000;" class=3D"styled-by-prettify">pip install wxPython<br></span><sp= an style=3D"color: #606;" class=3D"styled-by-prettify">Collecting</span><sp= an style=3D"color: #000;" class=3D"styled-by-prettify"> wxPython<br>=C2=A0 = </span><span style=3D"color: #606;" class=3D"styled-by-prettify">Using</spa= n><span style=3D"color: #000;" class=3D"styled-by-prettify"> cached https</= span><span style=3D"color: #660;" class=3D"styled-by-prettify">:</span><spa= n style=3D"color: #800;" class=3D"styled-by-prettify">//files.pythonhosted.= org/packages/bd/6e/ce469293cf6f7e391c11ec31161a9d6d0f2acffd05da2fb27bb3b3d8= 1d1e/wxPython-4.0.4-cp37-cp37m-win_amd64.whl</span><span style=3D"color: #0= 00;" class=3D"styled-by-prettify"><br></span><span style=3D"color: #606;" c= lass=3D"styled-by-prettify">Requirement</span><span style=3D"color: #000;" = class=3D"styled-by-prettify"> already satisfied</span><span style=3D"color:= #660;" class=3D"styled-by-prettify">:</span><span style=3D"color: #000;" c= lass=3D"styled-by-prettify"> six </span><span style=3D"color: #008;" class= =3D"styled-by-prettify">in</span><span style=3D"color: #000;" class=3D"styl= ed-by-prettify"> c</span><span style=3D"color: #660;" class=3D"styled-by-pr= ettify">:\</span><span style=3D"color: #000;" class=3D"styled-by-prettify">= users</span><span style=3D"color: #660;" class=3D"styled-by-prettify">\</sp= an><span style=3D"color: #000;" class=3D"styled-by-prettify">christian</spa= n><span style=3D"color: #660;" class=3D"styled-by-prettify">\</span><span s= tyle=3D"color: #000;" class=3D"styled-by-prettify">appdata</span><span styl= e=3D"color: #660;" class=3D"styled-by-prettify">\</span><span style=3D"colo= r: #008;" class=3D"styled-by-prettify">local</span><span style=3D"color: #6= 60;" class=3D"styled-by-prettify">\</span><span style=3D"color: #000;" clas= s=3D"styled-by-prettify">programs</span><span style=3D"color: #660;" class= =3D"styled-by-prettify">\</span><span style=3D"color: #000;" class=3D"style= d-by-prettify">python</span><span style=3D"color: #660;" class=3D"styled-by= -prettify">\</span><span style=3D"color: #000;" class=3D"styled-by-prettify= ">python37</span><span style=3D"color: #660;" class=3D"styled-by-prettify">= \</span><span style=3D"color: #000;" class=3D"styled-by-prettify">lib</span= ><span style=3D"color: #660;" class=3D"styled-by-prettify">\</span><span st= yle=3D"color: #000;" class=3D"styled-by-prettify">site</span><span style=3D= "color: #660;" class=3D"styled-by-prettify">-</span><span style=3D"color: #= 000;" class=3D"styled-by-prettify">packages </span><span style=3D"color: #6= 60;" class=3D"styled-by-prettify">(</span><span style=3D"color: #008;" clas= s=3D"styled-by-prettify">from</span><span style=3D"color: #000;" class=3D"s= tyled-by-prettify"> wxPython</span><span style=3D"color: #660;" class=3D"st= yled-by-prettify">)</span><span style=3D"color: #000;" class=3D"styled-by-p= rettify"> </span><span style=3D"color: #660;" class=3D"styled-by-prettify">= (</span><span style=3D"color: #066;" class=3D"styled-by-prettify">1.12</spa= n><span style=3D"color: #660;" class=3D"styled-by-prettify">.</span><span s= tyle=3D"color: #066;" class=3D"styled-by-prettify">0</span><span style=3D"c= olor: #660;" class=3D"styled-by-prettify">)</span><span style=3D"color: #00= 0;" class=3D"styled-by-prettify"><br></span><span style=3D"color: #606;" cl= ass=3D"styled-by-prettify">Requirement</span><span style=3D"color: #000;" c= lass=3D"styled-by-prettify"> already satisfied</span><span style=3D"color: = #660;" class=3D"styled-by-prettify">:</span><span style=3D"color: #000;" cl= ass=3D"styled-by-prettify"> </span><span style=3D"color: #606;" class=3D"st= yled-by-prettify">Pillow</span><span style=3D"color: #000;" class=3D"styled= -by-prettify"> </span><span style=3D"color: #008;" class=3D"styled-by-prett= ify">in</span><span style=3D"color: #000;" class=3D"styled-by-prettify"> c<= /span><span style=3D"color: #660;" class=3D"styled-by-prettify">:\</span><s= pan style=3D"color: #000;" class=3D"styled-by-prettify">users</span><span s= tyle=3D"color: #660;" class=3D"styled-by-prettify">\</span><span style=3D"c= olor: #000;" class=3D"styled-by-prettify">christian</span><span style=3D"co= lor: #660;" class=3D"styled-by-prettify">\</span><span style=3D"color: #000= ;" class=3D"styled-by-prettify">appdata</span><span style=3D"color: #660;" = class=3D"styled-by-prettify">\</span><span style=3D"color: #008;" class=3D"= styled-by-prettify">local</span><span style=3D"color: #660;" class=3D"style= d-by-prettify">\</span><span style=3D"color: #000;" class=3D"styled-by-pret= tify">programs</span><span style=3D"color: #660;" class=3D"styled-by-pretti= fy">\</span><span style=3D"color: #000;" class=3D"styled-by-prettify">pytho= n</span><span style=3D"color: #660;" class=3D"styled-by-prettify">\</span><= span style=3D"color: #000;" class=3D"styled-by-prettify">python37</span><sp= an style=3D"color: #660;" class=3D"styled-by-prettify">\</span><span style= =3D"color: #000;" class=3D"styled-by-prettify">lib</span><span style=3D"col= or: #660;" class=3D"styled-by-prettify">\</span><span style=3D"color: #000;= " class=3D"styled-by-prettify">site</span><span style=3D"color: #660;" clas= s=3D"styled-by-prettify">-</span><span style=3D"color: #000;" class=3D"styl= ed-by-prettify">packages </span><span style=3D"color: #660;" class=3D"style= d-by-prettify">(</span><span style=3D"color: #008;" class=3D"styled-by-pret= tify">from</span><span style=3D"color: #000;" class=3D"styled-by-prettify">= wxPython</span><span style=3D"color: #660;" class=3D"styled-by-prettify">)= </span><span style=3D"color: #000;" class=3D"styled-by-prettify"> </span><s= pan style=3D"color: #660;" class=3D"styled-by-prettify">(</span><span style= =3D"color: #066;" class=3D"styled-by-prettify">6.0</span><span style=3D"col= or: #660;" class=3D"styled-by-prettify">.</span><span style=3D"color: #066;= " class=3D"styled-by-prettify">0</span><span style=3D"color: #660;" class= =3D"styled-by-prettify">)</span><span style=3D"color: #000;" class=3D"style= d-by-prettify"><br></span><span style=3D"color: #606;" class=3D"styled-by-p= rettify">Installing</span><span style=3D"color: #000;" class=3D"styled-by-p= rettify"> collected packages</span><span style=3D"color: #660;" class=3D"st= yled-by-prettify">:</span><span style=3D"color: #000;" class=3D"styled-by-p= rettify"> wxPython<br></span><span style=3D"color: #606;" class=3D"styled-b= y-prettify">Successfully</span><span style=3D"color: #000;" class=3D"styled= -by-prettify"> installed wxPython</span><span style=3D"color: #660;" class= =3D"styled-by-prettify">-</span><span style=3D"color: #066;" class=3D"style= d-by-prettify">4.0</span><span style=3D"color: #660;" class=3D"styled-by-pr= ettify">.</span><span style=3D"color: #066;" class=3D"styled-by-prettify">4= </span></div></code></div><br><br></blockquote></blockquote><div><br></div>= <div>I try to run=C2=A0=C2=A0<br><br><blockquote style=3D"margin: 0 0 0 40p= x; border: none; padding: 0px;"><div><div class=3D"prettyprint" style=3D"ba= ckground-color: rgb(250, 250, 250); border-color: rgb(187, 187, 187); borde= r-style: solid; border-width: 1px; overflow-wrap: break-word;"><code class= =3D"prettyprint"><div class=3D"subprettyprint"><span style=3D"color: #008;"= class=3D"styled-by-prettify">import</span><span style=3D"color: #000;" cla= ss=3D"styled-by-prettify"> wx<br><br><br>app </span><span style=3D"color: #= 660;" class=3D"styled-by-prettify">=3D</span><span style=3D"color: #000;" c= lass=3D"styled-by-prettify"> wx</span><span style=3D"color: #660;" class=3D= "styled-by-prettify">.</span><span style=3D"color: #606;" class=3D"styled-b= y-prettify">App</span><span style=3D"color: #660;" class=3D"styled-by-prett= ify">()</span><span style=3D"color: #000;" class=3D"styled-by-prettify"><br= >frame </span><span style=3D"color: #660;" class=3D"styled-by-prettify">=3D= </span><span style=3D"color: #000;" class=3D"styled-by-prettify"> wx</span>= <span style=3D"color: #660;" class=3D"styled-by-prettify">.</span><span sty= le=3D"color: #606;" class=3D"styled-by-prettify">Frame</span><span style=3D= "color: #660;" class=3D"styled-by-prettify">(</span><span style=3D"color: #= 000;" class=3D"styled-by-prettify">parent</span><span style=3D"color: #660;= " class=3D"styled-by-prettify">=3D</span><span style=3D"color: #008;" class= =3D"styled-by-prettify">None</span><span style=3D"color: #660;" class=3D"st= yled-by-prettify">,</span><span style=3D"color: #000;" class=3D"styled-by-p= rettify"> title</span><span style=3D"color: #660;" class=3D"styled-by-prett= ify">=3D</span><span style=3D"color: #080;" class=3D"styled-by-prettify">&#= 39;Hello World'</span><span style=3D"color: #660;" class=3D"styled-by-p= rettify">)</span><span style=3D"color: #000;" class=3D"styled-by-prettify">= <br>frame</span><span style=3D"color: #660;" class=3D"styled-by-prettify">.= </span><span style=3D"color: #606;" class=3D"styled-by-prettify">Show</span= ><span style=3D"color: #660;" class=3D"styled-by-prettify">()</span><span s= tyle=3D"color: #000;" class=3D"styled-by-prettify"><br>app</span><span styl= e=3D"color: #660;" class=3D"styled-by-prettify">.</span><span style=3D"colo= r: #606;" class=3D"styled-by-prettify">MainLoop</span><span style=3D"color:= #660;" class=3D"styled-by-prettify">()</span></div></code></div><div><br><= /div></div></blockquote><div>But every time it builds in sublime, no frame/= window appears.<br><br>I'm not sure what to do. all the guides online j= ust say to use pip to install and have vs 2015 installed.=C2=A0<br></div></= div></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;wxPython-dev" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">wxPyth= [email protected]</a>.<br /> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/wxPython-dev/fa9d2dbe-1f33-4725-8280-783239cc4a65%40googlegroups= .com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms= gid/wxPython-dev/fa9d2dbe-1f33-4725-8280-783239cc4a65%40googlegroups.com</a= >.<br /> For more options, visit <a href=3D"https://groups.google.com/d/optout">http= s://groups.google.com/d/optout</a>.<br /> ------=_Part_1150_1535043990.1558118513039-- ------=_Part_1149_411936956.1558118513038--