title: FileNotFoundError: [Errno 2] No such file or directory: 'Interview-part2.mp3' - pydub
body: <p>I am trying to convert a .mp3 file into a .wav file based on [this website][1].</p>
  <p>I have set my working directory to the location that stores both the python script and the .mp3 file, and tried running the code below:</p>
  <pre><code>from os import path
  from pydub import AudioSegment
  
  #files
  src = 'Interview-part2.mp3'
  dst = 'Interview-part2.wav'
      
  #Convert mp3 to wav
  sound = AudioSegment.from_mp3(src)
  </code></pre>
  <p>However, when I run this, I get the following error:</p>
  <pre><code>Traceback (most recent call last):
  
    File &quot;&lt;ipython-input-19-f647e282d13d&gt;&quot;, line 1, in &lt;module&gt;
      sound = AudioSegment.from_mp3(src)
  
    File &quot;C:\Users\20200016\Anaconda3\lib\site-packages\pydub\audio_segment.py&quot;, line 796, in from_mp3
      return cls.from_file(file, 'mp3', parameters=parameters)
  
    File &quot;C:\Users\20200016\Anaconda3\lib\site-packages\pydub\audio_segment.py&quot;, line 651, in from_file
      file, close_file = _fd_or_path_or_tempfile(file, 'rb', tempfile=False)
  
    File &quot;C:\Users\20200016\Anaconda3\lib\site-packages\pydub\utils.py&quot;, line 60, in _fd_or_path_or_tempfile
      fd = open(fd, mode=mode)
  
  FileNotFoundError: [Errno 2] No such file or directory: 'Interview-part2.mp3'
  </code></pre>
  <p>Instead of only providing the audio file, I have also tried:</p>
  <p><code>src = DIRECTORY+'Interview-part2.mp3'</code></p>
  <p>But this resulted in a FileNotFoundError as well.</p>
  <p>What causes this error, and what can I do to overcome it?
  [1]: <a href="https://pythonbasics.org/convert-mp3-to-wav/" rel="nofollow noreferrer">https://pythonbasics.org/convert-mp3-to-wav/</a></p>