Re: Does wxPython 4.0.6 must also install numpy?

Robin Dunn <[email protected]> Mon, 27 May 2019 11:33:03 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
------=_Part_571_1453189532.1558981983297
Content-Type: multipart/alternative; 
	boundary="----=_Part_572_442622387.1558981983297"

------=_Part_572_442622387.1558981983297
Content-Type: text/plain; charset="UTF-8"

On Saturday, May 25, 2019 at 12:20:41 PM UTC-7, ABC wrote:
>
> Thank you Robin. Running pip with "--no-deps" worked fine, and I was able 
> to install wxPython 4.0.6 on Python 3.4.4.
>
> As for pyinstaller:
> I'm still building my app (as an all-inclusive executable file) on Windows 
> 7 32-bit, to achieve the widest audience for my application.
> An executable built with Python 3.7.3 crashes on Win7 showing ucrtbase.DLL 
> as the source of the problem. 
> On Win10 it won't even show me any message...
> If you also build on Win7, I'd appreciate if you can share how you 
> successfully use pyinstaller with Python 3.5 (and beyond).
> As much as I tried, I couldn't understand the instructions on 
> pyinstaller's site on how to include the required new MSVC libraries.
>

My other project didn't use the single file executable option, so that may 
be part of what's giving you trouble. We just use PyInstaller's  default, 
which is to just bundle the Python parts and then gather the necessary 
binary files into the same folder. The intent is to let you make a Zip or 
use some setup.exe generation tool to bundle those files into one for 
distribution.

My recollection about that other project was a little off, it still 
building the product using Python 2.7, but it is doing it on Windows 7. I 
just tried building wxPython's superdoodle sample (
https://github.com/wxWidgets/Phoenix/tree/wxPy-4.0.x/samples/doodle) on a 
Win7 machine using PyInstaller and Python 3.6 and although I didn't go as 
far as testing on other machines, it seems to be doing the right thing.

--
Robin

-- 
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/2ba79ba4-acec-4db6-a797-924c5c290e2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

------=_Part_572_442622387.1558981983297
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Saturday, May 25, 2019 at 12:20:41 PM UTC-7, ABC wrote:=
<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bor=
der-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><div>Thank yo=
u Robin. Running pip with &quot;--no-deps&quot; worked fine, and I was able=
 to install wxPython 4.0.6 on Python 3.4.4.</div><div><br></div><div>As for=
 pyinstaller:</div><div>I&#39;m still building my app (as an all-inclusive =
executable file) on Windows 7 32-bit, to achieve the widest audience for my=
 application.</div><div> An executable built with Python 3.7.3 crashes on W=
in7 showing ucrtbase.DLL as the source of the problem. <br></div><div>On Wi=
n10 it won&#39;t even show me any message...<br></div><div>If you also buil=
d on Win7, I&#39;d appreciate if you can share how you successfully use pyi=
nstaller with Python 3.5 (and beyond).</div><div>As much as I tried, I coul=
dn&#39;t understand the instructions on pyinstaller&#39;s site on how to in=
clude the required new MSVC libraries.<br></div></div></blockquote><div><br=
></div><div>My other project didn&#39;t use the single file executable opti=
on, so that may be part of what&#39;s giving you trouble. We just use PyIns=
taller&#39;s=C2=A0 default, which is to just bundle the Python parts and th=
en gather the necessary binary files into the same folder. The intent is to=
 let you make a Zip or use some setup.exe generation tool to bundle those f=
iles into one for distribution.</div><div><br></div><div>My recollection ab=
out that other project was a little off, it still building the product usin=
g Python 2.7, but it is doing it on Windows 7. I just tried building wxPyth=
on&#39;s superdoodle sample (<a href=3D"https://github.com/wxWidgets/Phoeni=
x/tree/wxPy-4.0.x/samples/doodle">https://github.com/wxWidgets/Phoenix/tree=
/wxPy-4.0.x/samples/doodle</a>) on a Win7 machine using PyInstaller and Pyt=
hon 3.6 and although I didn&#39;t go as far as testing on other machines, i=
t seems to be doing the right thing.</div><div><br></div><div>--</div><div>=
Robin</div><div><br></div></div>

<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/2ba79ba4-acec-4db6-a797-924c5c290e2d%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/wxPython-dev/2ba79ba4-acec-4db6-a797-924c5c290e2d%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_572_442622387.1558981983297--

------=_Part_571_1453189532.1558981983297--