py2app

How can I fix the error which occurs while building app via py2app?

女生的网名这么多〃 提交于 2021-01-29 09:26:29
问题 When I tried to build for deployment I get an error. I typed the following command: python3 setup.py py2app Which results in the following error (this is the last two lines of output): copying file /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python3 -> /Users/evrim/Desktop/code/WantedOutfits/dist/check_products.app/Contents/MacOS/python error: [Errno 2] /Applications/Xcode.app/Contents/Developer/Library

Value error '/anaconda3/lib/libpython3.7.dylib' does not exist?

偶尔善良 提交于 2021-01-28 08:57:45
问题 so I've created a virtual environment in my iterm2 window. this is the ques I asked earlier which has not been solved yet and my app is not running is alias modeso i tried to do the whole process again but it was showing error with plistlib so that was fixed by this answer I tried this whole process again which means I did this all this before but my app was not working so i deleted my py2app and some venv's got deleted to I downloaded miniconda3 again and then it was working until it comes

Python macOS builds run from Terminal but crash on Finder launch

旧街凉风 提交于 2021-01-20 04:57:48
问题 My py2app build displays an error message with a Terminate button when the app is launched with a double-click. However, if I open it directly in Terminal then it works perfectly well. All of the following Terminal commands launch the app successfully: # .MyApp.app/Contents/MacOS/MyApp # open MyApp.app # open -a MyApp.app I've read several posts about similar py2app errors but I can't figure out what could be the issue here. The problem seems to have been around for at least four years , is

Python macOS builds run from Terminal but crash on Finder launch

余生长醉 提交于 2021-01-20 04:55:40
问题 My py2app build displays an error message with a Terminate button when the app is launched with a double-click. However, if I open it directly in Terminal then it works perfectly well. All of the following Terminal commands launch the app successfully: # .MyApp.app/Contents/MacOS/MyApp # open MyApp.app # open -a MyApp.app I've read several posts about similar py2app errors but I can't figure out what could be the issue here. The problem seems to have been around for at least four years , is

Py2App PIL Image error when launching app

喜夏-厌秋 提交于 2020-08-24 01:47:08
问题 I am using py2app to convert a python file into an application and am running into this error: Traceback (most recent call last): File "/Users/MYUSER/PycharmProjects/webstuff/BotTest/dist/ws1.app/Contents/Resources/__boot__.py", line 87, in _recipes_pil_prescript import Image ModuleNotFoundError: No module named 'Image' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/MYUSER/PycharmProjects/webstuff/BotTest/dist/ws1.app