Re: py2app is not finding imported libraries
Ronald Oussoren via Pythonmac-SIG <[email protected]> Sun, 29 Jul 2018 08:54:22 +0100
| Newsgroups | gmane.comp.python.apple |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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 - [email protected] > https://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG _______________________________________________ Pythonmac-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG