简体   繁体   中英

PyInstaller in Mac os X Mavericks

I have a problem with PyInstaller on Mac OS X, my Python version is 2.7 and I installed PyInstaller with pip. When I type pyinstaller in the command line, this error is returned:

$ pyinstaller
-bash: pyinstaller: command not found

I have PyInstaller installed in Windows from pip, and it works fine.

this might be a little late, but you should install the zip file, extract the zip. Open the terminal and go to that directory, move the py files that you want to use pyinstaller for, and use this command:

$python pyinstaller.py yourfile.py

or if it's a GUI, use the --window extension:

$python pyinstaller.py --window yourfile.py

Hope this helped!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM