worldveil / dejavu

Audio fingerprinting and recognition in Python
MIT License
6.36k stars 1.43k forks source link

installation issue #157

Closed pk97 closed 4 years ago

pk97 commented 6 years ago

Cannot install FFmpeg and Mysqldb packages in Linux environment command as given in INSTALLATION.md : sudo yum install numpy scipy python-matplotlib ffmpeg portaudio-devel

not working on ubuntu as "yum:command not found"

So I replaced "yum" by pip and got the following error :

install: target 'portaudio-devel' is not a directory So i manuaaly created a folder "portaudio-devel" and ran the command again. Following error came up-> Could not find a version that satisfies the requirement python-matplotlib (from versions: ) No matching distribution found for python-matplotlib

lordkyzr commented 6 years ago

You are on Ubuntu so obviously yum isn't going to work for you and pip is not the replacement for yum. You need to find the same packages in your distros package repos and install them via apt. You mentioned ffmpeg so you could grab the packages from here if they aren't on any PPAs. As for MySQL that's not a hard one to find and should be in the standard package library.

pk97 commented 6 years ago

ffmpy is this equivalent for ffmpeg?

lordkyzr commented 6 years ago

You could try. It looks like from their docs it compiles ffmpeg from source and is just a python wrapper for the CLI. As long as it copies it to somewhere on your path I don't see why it wouldn't work. Was there an issue installing the ffmpeg libraries from their deb package?

On Wed, Jun 20, 2018, 12:23 AM Pulkit Kogta notifications@github.com wrote:

ffmpy https://pypi.org/project/ffmpy/ is this equivalent for ffmpeg?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/worldveil/dejavu/issues/157#issuecomment-398650531, or mute the thread https://github.com/notifications/unsubscribe-auth/AEOa7v9Wz4fPowMrlLxC0hcI3JVKoEPzks5t-fhegaJpZM4Uuq6G .