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.
时间: 2024-04-19 13:29:49 浏览: 398
这些警告是因为您安装的一些脚本文件所在的目录没有添加到系统的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` 选项来忽略这些警告。
WARNING: The script pygmentize.exe is installed in 'C:\Users\dell\AppData\Roaming\Python\Python39\Scripts' which is not on PATH.
这个警告提示是因为你安装的Python包中的可执行文件所在的路径没有被添加到系统的环境变量中。如果不处理,可能会导致无法直接在命令行中运行这些可执行文件。解决方法是将这些路径添加到系统的环境变量中。具体步骤如下:
1. 打开“控制面板”,选择“系统和安全”,然后选择“系统”。
2. 点击“高级系统设置”链接。
3. 在“系统属性”对话框中,选择“高级”选项卡,然后点击“环境变量”按钮。
4. 在“环境变量”对话框中,找到“系统变量”区域下的“Path”变量,然后点击“编辑”按钮。
5. 在“编辑环境变量”对话框中,点击“新建”按钮,然后输入需要添加的路径,例如'C:\Users\dell\AppData\Roaming\Python\Python39\Scripts',然后点击“确定”按钮。
6. 依次点击“确定”按钮关闭所有对话框。
这样就可以解决这个警告提示了。
阅读全文
相关推荐

















