Forum Replies Created
-
AuthorPosts
-
Hello! I followed the steps outlined here and am still getting an error. I tried it a couple of times and the most recent time i tried
> conda install ffmpeg
it said that # All requested packages already installed.
Here is the error I get:—————————————————————————
KeyError Traceback (most recent call last)
~/miniconda3/lib/python3.8/site-packages/matplotlib/animation.py in __getitem__(self, name)
160 try:
–> 161 return self.avail[name]
162 except KeyError:KeyError: ‘ffmpeg’
During handling of the above exception, another exception occurred:
RuntimeError Traceback (most recent call last)
<ipython-input-15-20d456944fec> in <module>
7 fig, lambda x: anim_sinusoid(x, X=A, Y=B, tsteps=tsteps, figs=figs), interval=600, frames=n_samples)
8
—-> 9 HTML(anim.to_html5_video())~/miniconda3/lib/python3.8/site-packages/matplotlib/animation.py in to_html5_video(self, embed_limit)
1324 # We create a writer manually so that we can get the
1325 # appropriate size for the tag
-> 1326 Writer = writers[rcParams[‘animation.writer’]]
1327 writer = Writer(codec=’h264′,
1328 bitrate=rcParams[‘animation.bitrate’],~/miniconda3/lib/python3.8/site-packages/matplotlib/animation.py in __getitem__(self, name)
161 return self.avail[name]
162 except KeyError:
–> 163 raise RuntimeError(
164 ‘Requested MovieWriter ({}) not available’.format(name))
165RuntimeError: Requested MovieWriter (ffmpeg) not available
I’m not entirely sure, but I think if you got the notebooks on easy mode, they’re only online, so they aren’t on your computer. If you’re using the terminal, it’s looking for files that ARE on your computer. So, I think if you want to use interactive mode from there, you’ll first need to install the notebooks the “Normal way”.
-
AuthorPosts