Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我安装了python模块,该目录不在路径上_Python_Python 3.x_Module_Path - Fatal编程技术网

我安装了python模块,该目录不在路径上

我安装了python模块,该目录不在路径上,python,python-3.x,module,path,Python,Python 3.x,Module,Path,我试图为python安装一些模块,但当我使用pip安装它时,出现了此警告 WARNING: The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'C:\Users\Name\AppData\Roaming\Python\Python38\Scripts' which is not on PATH. Consider adding this directory to P

我试图为python安装一些模块,但当我使用
pip
安装它时,出现了此警告

WARNING: The scripts jupyter-migrate.exe, jupyter-troubleshoot.exe and jupyter.exe are installed in 'C:\Users\Name\AppData\Roaming\Python\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.

我已尝试添加新路径,但此警告仍然存在。还有忽略警告的选项,但我不知道这是否会在将来扰乱模块。

您的路径中是否有“C:\Users\Name\AppData\Roaming\Python\Python38\Scripts”目录?问题是:您是否应该关心警告?答案是:视情况而定。您是否能够使用在安装过程中发出警告的软件包?->我会说,忽略这个警告。如果没有,请检查Python安装以及环境变量“PATH”的配置。