[英]Anaconda / Spyder new package?
I am trying to install ffmpeg on my Anaconda/Spyder install (Win 10/64 bit). 我正在尝试在Anaconda / Spyder安装上安装ffmpeg(Win 10/64位)。 I have it in Anaconda 我在水蟒里
However, Spyder does not recognize it 但是,Spyder无法识别它
import matplotlib.animation as ani
ani.MovieWriterRegistry().list()
[]
import ffmpeg
Traceback (most recent call last):
File "<ipython-input-4-16f5f3b4de71>", line 1, in <module>
import ffmpeg
ModuleNotFoundError: No module named 'ffmpeg'
Am I missing a step? 我错过了一步吗? I'm obviously rather new to this so any help would be greatly appreciated 我显然对此很陌生,因此任何帮助将不胜感激
( Spyder maintainer here ) This is caused by the common confusion conda is a pip replacement
, which is false. ( 这里是Spyder维护者 )这是由常见的混淆引起的,因为conda is a pip replacement
,这是错误的。
Basically, conda installed for you the ffmpeg C library, not the Python bindings to it. 基本上,conda为您安装了ffmpeg C库,而不是与它的Python绑定。
I have given answers at length about this topic, so I don't plan to do it again. 我已就该主题作了详尽的回答,所以我不打算再做一次。 Please see this one for example. 请参阅此示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.