首页 > 解决方案 > 如何将 Pyinstaller 添加到路径?

问题描述

如何将 Pyinstaller 添加到路径(在 macOS 上)

因为当我使用 Pyinstaller 命令时,它会说;

  zsh: zsh: command not found: pyinstaller

我认为发生错误是因为 Pyinstaller 不在路径中;我已经安装了 Pip3 install Pyinstaller。

  # after installing Pyinstaller:
 Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

尽管我找到了如何在 Windows 上执行的答案,但我找不到将其添加到 Mac 上的路径的方法,

标签: pythonpython-3.xpyinstaller

解决方案


推荐阅读