Hi Brénainn,

Thanks a lot, that helps!

Thor.

-----------------------------------------------
Dr. Thorsten Tepper García
Astrophysicist
www.thorsten.mx







> On 21 Apr 2020, at 21:56, bwoodsend <bwoods...@gmail.com> wrote:
> 
> There are a couple of others.
> 
> One is to put the following somewhere in your code:
> import pkg_resources.py2_warn
> Or to make it work as well with older setuptools versions:
> try:
>     import pkg_resources.py2_warn
> except ImportError:
>     pass
> 
> A more satisfactory solution would be to use PyInstaller's hooks which tell 
> PyInstaller contain the hidden-import='pkg_resources.py2_warn' information. 
> The hook for pkg_resources has been updated on github but the changes haven't 
> been released yet. You could upgrade to the developer version on Github or 
> you could manually update that file in your own installation.
> 
> Alternatively you can download that hook file and put it somewhere 
> PyInstaller can find it (usually next to your main script).
> 
> Brénainn
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "PyInstaller" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to pyinstaller+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pyinstaller/39fde230-b31e-4c7b-ad56-0509da6dbca5%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyinstaller+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/DEA5A996-821E-4299-9EE8-6F6782FF9C0D%40gmail.com.

Reply via email to