Re: Unable to get started with wxPython 4 & Python 3 on windows 10

Nicolas Pinault <[email protected]> Mon, 20 May 2019 18:46:52 +0200
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------9CA950CFCEAA185C07BDD770
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: quoted-printable

So :
- when you type "|pip install wxPython|", you pip is run in a Python 3.7=20
environment (see your first message).
- when you type "python", Python 3.6 is run.

There is something weird here.

can you add the following 2 lines at the top of your script ?
import sys
print(sys.version)

What does it print ?

Le 19/05/2019 =C3=A0 19:50, Christian O. a =C3=A9crit=C2=A0:
> C:\Users\Christian>python
> Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018, 00:16:47) [MSC=20
> v.1916 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>
> On Sunday, May 19, 2019 at 8:27:26 AM UTC-4, Nicolas Pinault wrote:
>
>     What do you get when running "python" from a terminal ?
>     You should get something like this but with Python 3.7.x
>
>     /Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900
>     64 bit (AMD64)] on win32//
>     //Type "help", "copyright", "credits" or "license" for more
>     information. //
>     //>>> //
>     /
>     Le 19/05/2019 =C3=A0 04:55, Christian O. a =C3=A9crit=C2=A0:
>>     I have uninstalled 3.7 and tried using wxPython with 3.6 however
>>     I still havnt been able to get a frame to show.
>>     --=20
>>     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] <javascript:>.
>>     To view this discussion on the web visit
>>     https://groups.google.com/d/msgid/wxPython-dev/72297872-7247-4670-ba=
da-8ea8c24c2790%40googlegroups.com
>>     <https://groups.google.com/d/msgid/wxPython-dev/72297872-7247-4670-b=
ada-8ea8c24c2790%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>=
.
>>     For more options, visit https://groups.google.com/d/optout
>>     <https://groups.google.com/d/optout>.
>
> --=20
> You received this message because you are subscribed to the Google=20
> Groups "wxPython-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send=20
> an email to [email protected]=20
> <mailto:[email protected]>.
> To view this discussion on the web visit=20
> https://groups.google.com/d/msgid/wxPython-dev/42034103-4017-410c-a958-ca=
8221f9bd85%40googlegroups.com=20
> <https://groups.google.com/d/msgid/wxPython-dev/42034103-4017-410c-a958-c=
a8221f9bd85%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>.
> For more options, visit https://groups.google.com/d/optout.

--=20
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 e=
mail to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/=
wxPython-dev/54c7a139-2393-19f5-74d6-63d514cb35e4%40drpi.fr.
For more options, visit https://groups.google.com/d/optout.

--------------9CA950CFCEAA185C07BDD770
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8=
">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    <div class=3D"moz-cite-prefix">So :<br>
      - when you type "<code
        class=3D"gmail-m_-5224592809836555926prettyprint"><span
          style=3D"color:rgb(0,0,0)"
          class=3D"gmail-m_-5224592809836555926styled-by-prettify">pip
          install wxPython</span></code>", you pip is run in a Python
      3.7 environment (see your first message).<br>
      - when you type "<tt>python</tt>", Python 3.6 is run.<br>
      <br>
      There is something weird here.<br>
      <br>
      can you add the following 2 lines at the top of your script ?<br>
      <tt>import sys</tt><tt><br>
      </tt><tt>print(sys.version)</tt><tt><br>
      </tt><br>
      What does it print ?<br>
      <br>
      Le 19/05/2019 =C3=A0 19:50, Christian O. a =C3=A9crit=C2=A0:<br>
    </div>
    <blockquote type=3D"cite"
      cite=3D"mid:[email protected]">
      <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF=
-8">
      <div dir=3D"ltr">
        <div>C:\Users\Christian&gt;python</div>
        <div>Python 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 24 2018,
          00:16:47) [MSC v.1916 64 bit (AMD64)] on win32</div>
        <div>Type "help", "copyright", "credits" or "license" for more
          information.</div>
        <br>
        On Sunday, May 19, 2019 at 8:27:26 AM UTC-4, Nicolas Pinault
        wrote:
        <blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left:
          0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
          <div text=3D"#000000" bgcolor=3D"#FFFFFF">
            <div>What do you get when running "python" from a terminal ?<br=
>
              You should get something like this but with Python 3.7.x<br>
              <br>
              <i><tt>Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017,
                  18:41:36) [MSC v.1900 64 bit (AMD64)] on win32</tt></i><i=
><tt><br>
                </tt></i><i><tt>Type "help", "copyright", "credits" or
                  "license" for more information.=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 </tt></i><i><tt><br>
                </tt></i><i><tt>&gt;&gt;&gt; </tt></i><i><tt><br>
                </tt></i><br>
              Le 19/05/2019 =C3=A0 04:55, Christian O. a =C3=A9crit=C2=A0:<=
br>
            </div>
            <blockquote type=3D"cite">
              <div dir=3D"ltr">I have uninstalled 3.7 and tried using
                wxPython with 3.6 however I still havnt been able to get
                a frame to show.=C2=A0</div>
              -- <br>
              You received this message because you are subscribed to
              the Google Groups "wxPython-dev" group.<br>
              To unsubscribe from this group and stop receiving emails
              from it, send an email to <a href=3D"javascript:"
                target=3D"_blank" gdf-obfuscated-mailto=3D"7CRSHmn3AwAJ"
                rel=3D"nofollow"
                onmousedown=3D"this.href=3D'javascript:';return true;"
                onclick=3D"this.href=3D'javascript:';return true;"
                moz-do-not-send=3D"true">wxPyth...@<wbr>googlegroups.com</a=
>.<br>
              To view this discussion on the web visit <a
href=3D"https://groups.google.com/d/msgid/wxPython-dev/72297872-7247-4670-b=
ada-8ea8c24c2790%40googlegroups.com?utm_medium=3Demail&amp;utm_source=3Dfoo=
ter"
                target=3D"_blank" rel=3D"nofollow"
onmousedown=3D"this.href=3D'https://groups.google.com/d/msgid/wxPython-dev/=
72297872-7247-4670-bada-8ea8c24c2790%40googlegroups.com?utm_medium\x3demail=
\x26utm_source\x3dfooter';return
                true;"
onclick=3D"this.href=3D'https://groups.google.com/d/msgid/wxPython-dev/7229=
7872-7247-4670-bada-8ea8c24c2790%40googlegroups.com?utm_medium\x3demail\x26=
utm_source\x3dfooter';return
                true;" moz-do-not-send=3D"true">https://groups.google.com/d=
/<wbr>msgid/wxPython-dev/72297872-<wbr>7247-4670-bada-8ea8c24c2790%<wbr>40g=
ooglegroups.com</a>.<br>
              For more options, visit <a
                href=3D"https://groups.google.com/d/optout"
                target=3D"_blank" rel=3D"nofollow"
                onmousedown=3D"this.href=3D'https://groups.google.com/d/opt=
out';return
                true;"
                onclick=3D"this.href=3D'https://groups.google.com/d/optout'=
;return
                true;" moz-do-not-send=3D"true">https://groups.google.com/d=
/<wbr>optout</a>.<br>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
      -- <br>
      You received this message because you are subscribed to the Google
      Groups "wxPython-dev" group.<br>
      To unsubscribe from this group and stop receiving emails from it,
      send an email to <a
        href=3D"mailto:[email protected]"
        moz-do-not-send=3D"true">[email protected]<=
/a>.<br>
      To view this discussion on the web visit <a
href=3D"https://groups.google.com/d/msgid/wxPython-dev/42034103-4017-410c-a=
958-ca8221f9bd85%40googlegroups.com?utm_medium=3Demail&amp;utm_source=3Dfoo=
ter"
        moz-do-not-send=3D"true">https://groups.google.com/d/msgid/wxPython=
-dev/42034103-4017-410c-a958-ca8221f9bd85%40googlegroups.com</a>.<br>
      For more options, visit <a
        href=3D"https://groups.google.com/d/optout" moz-do-not-send=3D"true=
">https://groups.google.com/d/optout</a>.<br>
    </blockquote>
    <br>
  </body>
</html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;wxPython-dev&quot; 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/54c7a139-2393-19f5-74d6-63d514cb35e4%40drpi.fr?utm_=
medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/wxPyt=
hon-dev/54c7a139-2393-19f5-74d6-63d514cb35e4%40drpi.fr</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

--------------9CA950CFCEAA185C07BDD770--