烧瓶被安装到错误的路径上
我正在使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论