title: Pydub installation and ffmpeg
body: <p>I was trying to get raw sound data out of a <code>.mp3</code> file. Therefor I used the pydub module as stated <a href="https://stackoverflow.com/questions/16634128/how-to-extract-the-raw-data-from-a-mp3-file-using-python">here</a>. I created a <code>venv</code> for this project and installed all necessary modules. But for some reason, pydub decided to give me an <code>FileNotFoundError</code>:</p>
  
  <pre><code>(venv) Python-IT:LightsDev pythonit$ which python
  /Users/pythonit/Documents/Programmieren/Python/LightsDev/venv/bin/python
  (venv) Python-IT:LightsDev pythonit$ which pip3
  /Users/pythonit/Documents/Programmieren/Python/LightsDev/venv/bin/pip3
  (venv) Python-IT:LightsDev pythonit$ pip3 list 
  ------------- -------
  ffmpeg        1.4
  pip           18.1
  pydub         0.23.0
  pyee          5.0.0
  python-ffmpeg 1.0.5
  setuptools    39.0.1
  </code></pre>
  
  <p>My exact code looks like that:</p>
  
  <pre><code>from pydub import AudioSegment
  sound = AudioSegment.from_mp3('test.mp3')
  raw_data = sound._data
  print(raw_data)
  </code></pre>
  
  <p>and I get this error:</p>
  
  <pre><code>FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe': 'ffprobe'
  </code></pre>
  
  <p>alongside this runtime warning:</p>
  
  <pre><code>RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
  </code></pre>
  
  <p>I don't know if it is me, but some similar questions stating I should install ffmpeg or python-ffmpeg won't work. I can even import the ffmpeg module but nothing happens. I can work with ffmpeg and load files but using it with pydub won't work.</p>
  
  <p>EDIT: Today I changed to my windows machine and looked at the error in-depth. However I didn't manage to get it working, even with the solution provided in the comments (thank you though). I installed the ffmpeg binary as stated and i was able to get <code>ffmpeg</code> running in the shell, however not with <code>pydub</code>... I have no clue what is going on. I guess my mistake is very obvious and I am just not able to get it. Even not subprocess was able to solve this problem despite the fact, that I am able to <strong>use ffmpeg in shell</strong>. I even was able to convert the file using ffmpeg in shell...</p>
  
  <pre><code> ffmpeg -i test.mp3 test.wav 
   &gt; Output #0, wav, to 'test.wav':
  </code></pre>
  
  <p>I think I am close to solve the problem myself anyways, but thank you anyways.</p>