title: PyDev: Unresolved import
body: <p>I use PyDev in Eclipse and have a custom source path for my Python project: <em>src/main/python</em>/. The path is added to the PythonPath.</p>
  
  <p>Now, i want to use the library pyMIR: <a href="https://github.com/jsawruk/pymir" rel="nofollow">https://github.com/jsawruk/pymir</a>, which doesn't has any install script. So I downloaded it and and included it direclty into my project as a Pydev package, the complete path to the pyMIR is: <em>src/main/python/music/pymir</em>.</p>
  
  <p>In the music package (<em>src/main/python/music</em>), now i want to use the library and import it via: <code>from pymir import AudioFile</code>. There appears no error, so class AudioFile is found.</p>
  
  <p>Afterward, I want to read an audio file via: <code>AudioFile.open(path)</code> and there i get the error "Undefined variable from import: open". But when I run the script, it works, no error occurs.</p>
  
  <p>Furthermore, when I look in the pyMIR package, there are also unresolved import errors. For example: <code>from pymir import Frame</code> in the class AudioFile produces the error: "Unresolved import: Frame", when I change it to <code>from music.pymir import Frame</code>, the error disappears, but then I get an error when it runs: "type object 'Frame' has no attribute 'Frame'".</p>
  
  <ol>
  <li><p>What I have to change, another import or how to include a Pydev package?</p></li>
  <li><p>When I make a new project with a standard path "src", then no "unresolved impor" errors appear. Where is the difference to <em>src/main/python</em>? Because I changed the path of source folders to <em>src/main/python</em>.</p></li>
  </ol>
  
  <p>Thanks in advance.</p>