简体   繁体   中英

Anaconda / Spyder new package?

I am trying to install ffmpeg on my Anaconda/Spyder install (Win 10/64 bit). I have it in Anaconda

水蟒

However, Spyder does not recognize it

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.

Basically, conda installed for you the ffmpeg C library, not the Python bindings to it.

I have given answers at length about this topic, so I don't plan to do it again. Please see this one for example.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM