当试图在python中运行一个简单的动画示例代码时,我收到一个我无法解决的错误.
Traceback (most recent call last):
File "D:/CG/dynamic_image2.py", line 29, in <module>
ani.save('dynamic_images.mp4')
File "C:\Python27\lib\site-packages\matplotlib\animation.py", line 127, in save
self._make_movie(filename, fps, codec, frame_prefix)
File "C:\Python27\lib\site-packages\matplotlib\animation.py", line 164, in _make_movie
stdout=PIPE, stderr=PIPE)
File "C:\Python27\lib\subprocess.py", line 679, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 893, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
Run Code Online (Sandbox Code Playgroud)
我发现了类似的情况(link1,link2),但我仍然不知道如何解决我的...
我正在使用:Python 2.7.2 | EPD 7.2-2(32位)| (默认情况下,2011年9月14日,11:02:05)[winv上的MSC v.1500 32位(英特尔)]
我希望有人可以帮助我!