烧瓶被安装到错误的路径上

发布于 2025-02-10 06:16:15 字数 466 浏览 0 评论 0原文

我正在使用Windows11。

我保存了要在sumplion.txt中使用的烧瓶版本。 然后我输入以下命令:

pip install -r requirements.txt

安装后,我收到了以下警告:

警告:脚本flask.exe安装在'c:\ users \ mica \ appdata \ local \ packages \ pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0 \ lotalcache \ lotalcache \ local-package \ local-packages \ python310 \ scritts中。 考虑将此目录添加到路径上,或者,如果您愿意抑制此警告,请使用-No-Warn-Script-Location

问题是我无法用烧瓶运行任何命令。谁能帮我吗?

I am using windows 11.

I saved the flask version I wanted to use in a requirements.txt.
Then I entered the following command:

pip install -r requirements.txt

After the installation I got the following warning:

WARNING: The script flask.exe is installed in 'C:\Users\mica\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location

The problem is that I can't run any commands with flask. Can anyone help me?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文