解决 FileNotFoundError: [WinError 2] 系统找不到指定的文件 sp.PIPE |
您所在的位置:网站首页 › vray系统找不到指定的文件 › 解决 FileNotFoundError: [WinError 2] 系统找不到指定的文件 sp.PIPE |
解决 FileNotFoundError: [WinError 2] 系统找不到指定的文件 File "D:/tangku/model_yolov5/track7(66).py", line 347, in detect pip = sp.Popen(command, stdin=sp.PIPE) File "C:\Users\KK\.conda\envs\jc\lib\subprocess.py", line 854, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\KK\.conda\envs\jc\lib\subprocess.py", line 1307, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] 系统找不到指定的文件。解决 FileNotFoundError: [WinError 2] 系统找不到指定的文件 ** 报错原因:没有安装ffmpeg!!!** 解决方案: 1、 在官网下载ffmpeg.exe文件:http://ffmpeg.zeranoe.com/builds/ 2、加入环境变量: 右击此电脑——>属性——>高级系统设置——>环境变量。在系统变量的path变量里添加解压的路径。 3、配置完成后运行cmd,输入ffmpeg,若显示如下界面,则说明配置成功。 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |