title: Pylint "unable to import" error but works fine with Pycharm
body: <p>The basic structure of my program looks like this:</p>
  
  <pre><code>top_dir
  __init__.py
  readme.rst
      sub_dir
      __init__.py
          sub_sub_dir
          __init__.py
          example_module.py
          sub_sub_dir2
          __init__.py
          module_with_import.py
  </code></pre>
  
  <p>In Pycharm all imports just work fine. For example I use the following import in 'module_with_import.py':</p>
  
  <pre><code>from sub_dir.sub_sub_dir.example_module import function
  </code></pre>
  
  <p>However if I run pylint on module_with_import.py I will get the following error:</p>
  
  <pre><code>Unable to import 'sub_dir.sub_sub_dir.example_module' (import-error)
  </code></pre>
  
  <p>Does anybody see what's wrong here?</p>