我使用pip3下载了pyinstaller,但是在下载结束时我收到了以下消息:
WARNING: The scripts pyi-archive_viewer.exe, pyi-bindepend.exe, pyi-grab_version.exe, pyi-makespec.exe, pyi-set_version.exe and pyinstaller.exe are installed in 'C:\Users\panyc\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\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.
然后我将路径添加到我的环境变量中,但是没有任何变化,我仍然收到此消息。我该如何解决?
执行此操作:python -m pyinstaller <parameters>
如果这不起作用,请尝试以下操作:python -m PyInstaller <parameters>
注意:在某些系统上,python
是python3
。