-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError: [WinError 2] 系统找不到指定的文件。 #76
Comments
There is an error when I run "python demo_video.py 1.mp4" |
Use absolute path. |
Absolute path is not working. |
我遇到了相同的问题了,你解决了么? |
你没有下ffmpeg,再官网下载之后加到环境变量里就行了 |
我在conda环境中使用pip install ffmpeg-python下载了ffmpeg,但是仍然有这个问题 |
你可以尝试直接在ffmpeg官网下载,然后将目录加入环境变量,这样就可以命令行调用了 |
sudo apt-get install ffmpeg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
C:\Users\a505s.conda\envs\pytorch-openpose\lib\site-packages\torchvision\io\image.py:13: UserWarning: Failed to load image Python extension:
warn(f"Failed to load image Python extension: {e}")
Traceback (most recent call last):
File "F:\pytorch-openpose\demo_video.py", line 77, in
ffprobe_result = ffprobe(args.file)
File "F:\pytorch-openpose\demo_video.py", line 31, in ffprobe
result = subprocess.run(command_array, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
File "C:\Users\a505s.conda\envs\pytorch-openpose\lib\subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\a505s.conda\envs\pytorch-openpose\lib\subprocess.py", line 800, in init
restore_signals, start_new_session)
File "C:\Users\a505s.conda\envs\pytorch-openpose\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
HELP!!
The text was updated successfully, but these errors were encountered: