Re: Does wxPython 4.0.6 must also install numpy?

ABC <[email protected]> Sat, 25 May 2019 12:20:41 -0700 (PDT)
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
------=_Part_109_316049411.1558812041751
Content-Type: multipart/alternative; 
	boundary="----=_Part_110_1441362995.1558812041751"

------=_Part_110_1441362995.1558812041751
Content-Type: text/plain; charset="UTF-8"

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.

On Friday, May 24, 2019 at 3:58:02 PM UTC-7, Robin Dunn wrote:
>
>
>
> On Friday, May 24, 2019 at 2:26:19 PM UTC-7, ABC wrote:
>>
>> I'm still relying on Windows 7 32-bit Python 3.4.4 + pyinstaller to 
>> package my application as an executable file, due to MSVC library inclusion 
>> issues that started with Python 3.5.
>>
>> wxPython 4.0.6 attempts to install numpy too, which 4.0.4 didn't.
>> numpy 1.16.3 installs OK on my Python 3.7, but not on my Python 3.4.4.
>>
>> Is numpy a must? If not, how do I instruct 4.0.6 not to install it?
>>
>
> I added it to the install dependencies list because it is imported by some 
> commonly used modules in the wx.lib package. Some others didn't seem to get 
> as much use so I  didn't add some other dependencies, but numpy seemed 
> important enough to do so.
>
> You can tell pip to ignore dependencies with the `--no-deps` install 
> option. Note that there are not any constraints on the dependency so if 
> there is an earlier version of numpy that will work in your environment 
> then you can explicitly use that version number on the pip command line or 
> in your requirements file.
>
> BTW, I'm going to be dropping 3.4 support with the wxPython 4.1.x series. 
> It will probably remain compatible, but I'm going to be removing those 
> builds and won't be putting in any more effort specifically for 3.4 if I 
> can help it. I used the newest PyInstaller with Python 3.5 earlier this 
> week (although not a wxPython project) and it did a very good job of 
> collecting the proper MSVC runtime libs. You may want to give it another 
> try.
>
> --
> 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/e1ca5011-eb59-4816-a021-3a7b22b4775c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

<div dir=3D"ltr"><div>Thank you Robin. Running pip with &quot;--no-deps&quo=
t; 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 buildin=
g my app (as an all-inclusive executable file) on Windows 7 32-bit, to achi=
eve the widest audience for my application.</div><div> An executable built =
with Python 3.7.3 crashes on Win7 showing ucrtbase.DLL as the source of the=
 problem. <br></div><div>On Win10 it won&#39;t even show me any message...<=
br></div><div>If you also build on Win7, I&#39;d appreciate if you can shar=
e how you successfully use pyinstaller with Python 3.5 (and beyond).</div><=
div>As much as I tried, I couldn&#39;t understand the instructions on pyins=
taller&#39;s site on how to include the required new MSVC libraries.<br></d=
iv><div></div><br>On Friday, May 24, 2019 at 3:58:02 PM UTC-7, Robin Dunn w=
rote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8e=
x;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><br><br>=
On Friday, May 24, 2019 at 2:26:19 PM UTC-7, ABC wrote:<blockquote class=3D=
"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><div dir=3D"ltr"><div>I&#39;m still relying on Windows =
7 32-bit Python 3.4.4 + pyinstaller to package my application as an executa=
ble file, due to MSVC library inclusion issues that started with Python 3.5=
.</div><div></div><div><br></div><div>wxPython 4.0.6 attempts to install nu=
mpy too, which 4.0.4 didn&#39;t.</div><div>numpy 1.16.3 installs OK on my P=
ython 3.7, but not on my Python 3.4.4.</div><div><br></div><div>Is numpy a =
must? If not, how do I instruct 4.0.6 not to install it?<br></div></div></b=
lockquote><div><br></div><div>I added it to the install dependencies list b=
ecause it is imported by some commonly used modules in the wx.lib package. =
Some others didn&#39;t seem to get as much use so I=C2=A0 didn&#39;t add so=
me other dependencies, but numpy seemed important enough to do so.</div><di=
v><br></div><div>You can tell pip to ignore dependencies with the `--no-dep=
s` install option. Note that there are not any constraints on the dependenc=
y so if there is an earlier version of numpy that will work in your environ=
ment then you can explicitly use that version number on the pip command lin=
e or in your requirements file.</div><div><br></div><div>BTW, I&#39;m going=
 to be dropping 3.4 support with the wxPython 4.1.x series. It will probabl=
y remain compatible, but I&#39;m going to be removing those builds and won&=
#39;t be putting in any more effort specifically for 3.4 if I can help it. =
I used the newest PyInstaller with Python 3.5 earlier this week (although n=
ot a wxPython project) and it did a very good job of collecting the proper =
MSVC runtime libs. You may want to give it another try.</div><div><br></div=
><div>--</div><div>Robin</div></div></blockquote></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/e1ca5011-eb59-4816-a021-3a7b22b4775c%40googlegroups=
.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms=
gid/wxPython-dev/e1ca5011-eb59-4816-a021-3a7b22b4775c%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_110_1441362995.1558812041751--

------=_Part_109_316049411.1558812041751--