WARNING: The script normalizer.exe is installed in 'C:\Users\lenovo\AppData\Roaming\Python\Python36\Scripts' which is not on PATH
时间: 2023-09-22 09:05:24 浏览: 181
这不是一个问题,而是一个警告信息。可执行文件 normalizer.exe 安装在路径 C:\Users\lenovo\AppData\Roaming\Python\Python36\Scripts 下,但该路径并未在系统PATH环境变量中,因此在执行该程序时需要手动指定路径或将其添加到系统PATH环境变量中。
相关问题
WARNING: The script wheel.exe is installed in 'C:\Users\dell\AppData\Roaming\Python\Python39\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. WARNING: The script normalizer.exe is installed in 'C:\Users\dell\AppData\Roaming\Python\Python39\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. WARNING: The scripts pyrsa-decrypt.exe, pyrsa-encrypt.exe, pyrsa-keygen.exe, pyrsa-priv2pub.exe, pyrsa-sign.exe and pyrsa-verify.exe are installed in 'C:\Users\dell\AppData\Roaming\Python\Python39\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. WARNING: The script markdown_py.exe is installed in 'C:\Users\dell\AppData\Roaming\Python\Python39\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. WARNING: The script google-oauthlib-tool.exe is installed in 'C:\Users\dell\AppData\Roaming\Python\Python39\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. WARNING: The script tensorboard.exe is installed in 'C:\Users\dell\AppData\Roaming\Python\Python39\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.
这些警告是因为您安装的一些脚本文件所在的目录没有添加到系统的PATH环境变量中。要解决这个问题,您可以选择将这些目录添加到PATH环境变量中,或者在命令行中使用`--no-warn-script-location`参数来禁止这些警告。
如果您选择将这些目录添加到PATH环境变量中,您可以按照以下步骤进行操作:
1. 在Windows上,打开控制面板。
2. 在控制面板中,搜索并点击“系统”。
3. 在系统设置页面中,点击左侧的“高级系统设置”。
4. 在弹出的对话框中,点击“环境变量”按钮。
5. 在环境变量对话框中,找到系统变量列表中的“Path”变量,并点击“编辑”按钮。
6. 在编辑环境变量对话框中,点击“新建”按钮,并输入要添加的目录路径。
7. 点击“确定”保存修改。
添加完毕后,重新打开命令行窗口,应该不再收到这些警告信息了。
WARNING: The script wheel.exe is installed in 'C:\Users\86136\AppData\Roaming\Python\Python39\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. WARNING: The script f2py.exe is installed in 'C:\Users\86136\AppData\Roaming\Python\Python39\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. WARNING: The script normalizer.exe is installed in 'C:\Users\86136\AppData\Roaming\Python\Python39\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. WARNING: The scripts pyrsa-decrypt.exe, pyrsa-encrypt.exe, pyrsa-keygen.exe, pyrsa-priv2pub.exe, pyrsa-sign.exe and pyrsa-verify.exe are installed in 'C:\Users\86136\AppData\Roaming\Python\Python39\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. WARNING: The script markdown_py.exe is installed in 'C:\Users\86136\AppData\Roaming\Python\Python39\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. WARNING: The script google-oauthlib-tool.exe is installed in 'C:\Users\86136\AppData\Roaming\Python\Python39\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. WARNING: The script tensorboard.exe is installed in 'C:\Users\86136\AppData\Roaming\Python\Python39\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 包时,它们在安装过程中将可执行文件安装到了 Python 的 `Scripts` 文件夹中,但是这个文件夹不在系统的 `PATH` 环境变量中,因此可能无法直接运行这些可执行文件。
你可以将 `C:\Users\86136\AppData\Roaming\Python\Python39\Scripts` 添加到系统的 `PATH` 环境变量中,这样就可以直接在命令行中运行这些可执行文件了。或者,你可以使用 `--no-warn-script-location` 选项来忽略这些警告。
阅读全文