python - 如何将 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 上的路径的方法,
解决方案
推荐阅读
- firebase - Firebase Web 推送通知 (FCM):潜在用户与发送
- maven - 自定义 Azure DevOps 任务已满足部分但未满足需求
- bash - 试图在字符串模式中找到 2 次或更多次出现
- splunk - 如果主机不活动超过 5 分钟,则 Splunk 搜索
- tsql - Microsoft 报表生成器执行查询灰显
- ruby-on-rails - 如何从现有的 Rails 6 应用程序中删除 Minitest?
- javascript - document.getElementById() 只对一个元素进行操作
- eloquent - 如何将原始 sql 代码附加到雄辩的查询中
- java - 如何在图形实验室中调用方法
- arduino - Arduino 编译错误“为板 Arduino Nano 编译错误”