[Pythonmac-SIG] py2app is not finding imported libraries

David Brooks dave at bcs.co.nz
Sun Jul 29 16:13:06 EDT 2018


Hmm and FWIW, why is PyQt4 being referenced when Tkinter is being used
as the GUI?? (I'm assuming `tinter` is a typo as I can find no reference
to any Python package called that.)


Dave

On 29/07/18 7:54 PM, Ronald Oussoren via Pythonmac-SIG wrote:
> Could you create a small reproducer and sent me it as well as the
> output of “python3 setup.py py2app -A”, the output of “python3 -mpip
> list” and a list of files in the generated app bundle (in a Terminal
> window: find dist/MyApp.app -ls)? With some luck this will help me
> find the issue. 
>
> And just to avoid the obvious problem: does importing both libraries
> work when you don’t use py2app? 
>
> And finally some questions about the python installation:
> * How did you install Python 3.5.2?  (Python.org
> <http://Python.org> installer, homebrew, …)
> * Have you installed other Python versions (such as 3.6 or 3.7)? 
>
> Ronald
>
>> On 27 Jul 2018, at 18:56, David Simmons <dsimmons222 at earthlink.net
>> <mailto:dsimmons222 at earthlink.net>> wrote:
>>
>> Do not know where else to seek help as I have extensively searched
>> for months on the internet without finding a hint to fix the problem.
>>
>> I am using Apple OS X 10.13.6 and Python 3.5.2.  All attempts to use
>> py2app with the -A option and without fail to find PyQT4 and
>> reportlab libraries.  I use tinter for the GUI and reportlab to write
>> PDF’s.
>>
>> Any clue on how to solve this problem would be greatly appreciated.
>>
>> NOTE:  py2app was working fine before and then started failing.
>>
>> David Simmons
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> <mailto:Pythonmac-SIG at python.org>
>> https://mail.python.org/mailman/listinfo/pythonmac-sig
>> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG
>
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> https://mail.python.org/mailman/listinfo/pythonmac-sig
> unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20180730/3b114a81/attachment.html>


More information about the Pythonmac-SIG mailing list