title: How to solve python moduleNotFoundError
body: <p>I'm having trouble understanding the module layout in python.  Here is my directory / file structure</p>
  <pre><code>Project2.1/
  ├── project2
  │   ├── data_mining
  │   │   ├── process.py
  │   │   └── __init__.py
  │   └── __init__.py
  └── tests
      ├── data
      │   └── data.csv
      ├── data_mining
      │   ├── __init__.py
      │   └── test_process.py
      └── __init__.py
  </code></pre>
  <p>File test_process.py, contains the following import</p>
  <p><code>from project2.data_mining.process import ClassP</code></p>
  <p>Run file tests/data_mining/test_proecss.py using the following command from directory Project2.1</p>
  <pre><code>$ cd Project2.1
  $ python3 tests/data_mining/test_process.py 
  </code></pre>
  <p>Generates the error</p>
  <pre><code>  File &quot;tests/data_mining/test_process.py&quot;, line 7, in &lt;module&gt;
      from project2.data_mining.process import ClassP
  ModuleNotFoundError: No module named 'project2'
  </code></pre>
  <p>ClassP is a class inside project2/data_mining/process.py</p>