The script normalizer.exe is installed in 'c:\users\36905\appdata\local\programs\python\python37\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.是什么情况

时间: 2023-07-21 11:10:04 浏览: 40
这个提示意味着您在安装某个Python包时,其中包含了一个名为normalizer.exe的可执行文件,但是该文件所在的目录并没有被添加到系统的环境变量PATH中。 环境变量PATH是操作系统用于查找可执行文件的一组目录,如果一个目录没有被包含在PATH中,那么在命令行中就不能直接运行该目录下的可执行文件。 要解决这个问题,您可以考虑以下两种方法: 1. 将目录添加到PATH中。您可以将该目录添加到系统的环境变量PATH中,这样就可以在命令行中直接运行normalizer.exe了。具体的操作方法可以参考操作系统的相关文档。 2. 在使用normalizer.exe时指定完整的路径。如果您不想将目录添加到PATH中,可以在使用normalizer.exe的时候指定该文件的完整路径,例如: ``` C:\path\to\normalizer.exe ``` 这样就可以在任意目录下运行normalizer.exe了。 另外,如果您不希望看到这个警告,可以在命令行中使用--no-warn-script-location选项,例如: ``` pip install somepackage --no-warn-script-location ``` 这样就不会显示警告信息了。
相关问题

WARNING: The script normalizer.exe is installed in 'C:\Users\lenovo\AppData\Roaming\Python\Python36\Scripts' which is not on PATH

这不是一个问题,而是一个警告信息。可执行文件 normalizer.exe 安装在路径 C:\Users\lenovo\AppData\Roaming\Python\Python36\Scripts 下,但该路径并未在系统PATH环境变量中,因此在执行该程序时需要手动指定路径或将其添加到系统PATH环境变量中。

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 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.

Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: transformers in c:\users\admin\appdata\roaming\python\python311\site-packages (4.30.2) Requirement already satisfied: filelock in c:\users\admin\appdata\roaming\python\python311\site-packages (from transformers) (3.12.2) Requirement already satisfied: huggingface-hub<1.0,>=0.14.1 in c:\users\admin\appdata\roaming\python\python311\site-packages (from transformers) (0.16.4) Requirement already satisfied: numpy>=1.17 in d:\user_cx\software\anaconda3\lib\site-packages (from transformers) (1.24.3) Requirement already satisfied: packaging>=20.0 in d:\user_cx\software\anaconda3\lib\site-packages (from transformers) (23.0) Requirement already satisfied: pyyaml>=5.1 in d:\user_cx\software\anaconda3\lib\site-packages (from transformers) (6.0) Requirement already satisfied: regex!=2019.12.17 in d:\user_cx\software\anaconda3\lib\site-packages (from transformers) (2022.7.9) Requirement already satisfied: requests in d:\user_cx\software\anaconda3\lib\site-packages (from transformers) (2.29.0) Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in c:\users\admin\appdata\roaming\python\python311\site-packages (from transformers) (0.13.3) Requirement already satisfied: safetensors>=0.3.1 in c:\users\admin\appdata\roaming\python\python311\site-packages (from transformers) (0.3.1) Requirement already satisfied: tqdm>=4.27 in d:\user_cx\software\anaconda3\lib\site-packages (from transformers) (4.65.0) Requirement already satisfied: fsspec in d:\user_cx\software\anaconda3\lib\site-packages (from huggingface-hub<1.0,>=0.14.1->transformers) (2023.3.0) Requirement already satisfied: typing-extensions>=3.7.4.3 in d:\user_cx\software\anaconda3\lib\site-packages (from huggingface-hub<1.0,>=0.14.1->transformers) (4.6.3) Requirement already satisfied: colorama in d:\user_cx\software\anaconda3\lib\site-packages (from tqdm>=4.27->transformers) (0.4.6) Requirement already satisfied: charset-normalizer<4,>=2 in d:\user_cx\software\anaconda3\lib\site-packages (from requests->transformers) (2.0.4) Requirement already satisfied: idna<4,>=2.5 in d:\user_cx\software\anaconda3\lib\site-packages (from requests->transformers) (3.4) Requirement already satisfied: urllib3<1.27,>=1.21.1 in d:\user_cx\software\anaconda3\lib\site-packages (from requests->transformers) (1.26.16) Requirement already satisfied: certifi>=2017.4.17 in d:\user_cx\software\anaconda3\lib\site-packages (from requests->transformers) (2023.5.7)

最新推荐

recommend-type

pre_o_1csdn63m9a1bs0e1rr51niuu33e.a

pre_o_1csdn63m9a1bs0e1rr51niuu33e.a
recommend-type

matlab建立计算力学课程的笔记和文件.zip

matlab建立计算力学课程的笔记和文件.zip
recommend-type

FT-Prog-v3.12.38.643-FTD USB 工作模式设定及eprom读写

FT_Prog_v3.12.38.643--FTD USB 工作模式设定及eprom读写
recommend-type

matlab基于RRT和人工势场法混合算法的路径规划.zip

matlab基于RRT和人工势场法混合算法的路径规划.zip
recommend-type

matlab基于matlab的两步定位软件定义接收机的开源GNSS直接位置估计插件模块.zip

matlab基于matlab的两步定位软件定义接收机的开源GNSS直接位置估计插件模块.zip
recommend-type

zigbee-cluster-library-specification

最新的zigbee-cluster-library-specification说明文档。
recommend-type

管理建模和仿真的文件

管理Boualem Benatallah引用此版本:布阿利姆·贝纳塔拉。管理建模和仿真。约瑟夫-傅立叶大学-格勒诺布尔第一大学,1996年。法语。NNT:电话:00345357HAL ID:电话:00345357https://theses.hal.science/tel-003453572008年12月9日提交HAL是一个多学科的开放存取档案馆,用于存放和传播科学研究论文,无论它们是否被公开。论文可以来自法国或国外的教学和研究机构,也可以来自公共或私人研究中心。L’archive ouverte pluridisciplinaire
recommend-type

实现实时数据湖架构:Kafka与Hive集成

![实现实时数据湖架构:Kafka与Hive集成](https://img-blog.csdnimg.cn/img_convert/10eb2e6972b3b6086286fc64c0b3ee41.jpeg) # 1. 实时数据湖架构概述** 实时数据湖是一种现代数据管理架构,它允许企业以低延迟的方式收集、存储和处理大量数据。与传统数据仓库不同,实时数据湖不依赖于预先定义的模式,而是采用灵活的架构,可以处理各种数据类型和格式。这种架构为企业提供了以下优势: - **实时洞察:**实时数据湖允许企业访问最新的数据,从而做出更明智的决策。 - **数据民主化:**实时数据湖使各种利益相关者都可
recommend-type

2. 通过python绘制y=e-xsin(2πx)图像

可以使用matplotlib库来绘制这个函数的图像。以下是一段示例代码: ```python import numpy as np import matplotlib.pyplot as plt def func(x): return np.exp(-x) * np.sin(2 * np.pi * x) x = np.linspace(0, 5, 500) y = func(x) plt.plot(x, y) plt.xlabel('x') plt.ylabel('y') plt.title('y = e^{-x} sin(2πx)') plt.show() ``` 运行这段
recommend-type

JSBSim Reference Manual

JSBSim参考手册,其中包含JSBSim简介,JSBSim配置文件xml的编写语法,编程手册以及一些应用实例等。其中有部分内容还没有写完,估计有生之年很难看到完整版了,但是内容还是很有参考价值的。