【发布时间】:2018-12-15 22:24:48
【问题描述】:
我一直在尝试在我的程序 scratch_1.py 上使用 PyInstaller。 PyCharm 项目文件夹名为“idigen”,保存在我的桌面中。所以,我就这样换了导演:
cd /Users/joelsaarinen/Desktop/idigen
然后,继续使用 pyinstaller,我收到此错误:
pyinstaller scratch_1.py
-bash: pyinstaller: command not found
我很困惑,因为当我使用:
pip show pyinstaller
为了验证我是否安装了 pyinstaller,它会返回一个肯定的结果。
在我的一个文件上使用 Pyinstaller 时,我应该输入其他命令吗?这可能是这个特定程序或一般操作系统的问题吗?提前致谢。
【问题讨论】:
标签: python macos pip pyinstaller