問題描述
直截了當的回答:安裝 py2app (Straight and simple answer: installing py2app)
我整天都在尋找如何安裝 py2app。我已經下載了該文件夾,但我不知道如何實際安裝該應用程序。另外,如果有人能給我一個使用 py2app 的簡單方法,那就太好了!
參考解法
方法 1:
Which Python version are you using? Assuming you use Mac OS X version, first you need to install pip. For that google: how to install python pip? This is really easy. And after that issue in your terminal
$ sudo pip install ‑U py2app
方法 2:
if you already have the source package downloaded, it has a setup.py
file in it's top‑level directory. To install, just invoke it like this:
python setup.py install
also, you could read the installation instructions: https://pythonhosted.org/py2app/install.html
(by Ben Hughes、oz123、Corey Goldberg)