title: Unable to resolve the package modules in python
body: <p>So my file structure looks something like this:</p>
  
  <pre><code>my-project-1
      my-project-1/setup.py
      my-project-1/__init__.py
      my-project-1/src/
  
        my-project-1/src/__init__.py
        my-project-1/src/sub_proj/
  
          my-project-1/src/sub_proj/__init__.py
          my-project-1/src/sub_proj/name
  
            my-project-1/src/sub_proj/name/__init__.py
            my-project-1/src/sub_proj/name/module1.py
            my-project-1/src/sub_proj/name/module2.py
  
      my-project-1/tests/
  
        my-project-1/tests/__init__.py
        my-project-1/tests/test.py
  </code></pre>
  
  <p>Inside my <code>test.py</code>, I cannot seem to access module1 or module2</p>
  
  <p>I have something like <code>from src.sub_proj.name.module1 import ClassModule1</code></p>
  
  <p>I keep getting <code>ImportError: No module named</code></p>
  
  <p>I have <code>my-project-1/src/sub_proj/__init__.py</code> contain <code>__import__('pkg_resources').declare_namespace(__name__)
  </code></p>
  
  <p>In fact, it looks like visual studio cannot even import <code>pymysql</code> etc. <code>test.py</code> works fine if it's in <code>my-project-1/src/sub_proj/name/</code></p>