title: Python import error while deploying as package
body: <p>Following is my project structure:</p>
  
  <pre><code>root directory  
      | - __init__.py  
      | - notdoneyet.py  
      | - helpers.py  
      | - opencv_generators.py  
      | - seam_carve.py
      | - imgtovideos.py
  </code></pre>
  
  <p><code>notdoneyet.py</code> file contains the entry point of project and the remaining scripts are imported as modules and when required.</p>
  
  <p>My <code>__init__.py</code> contains following code:</p>
  
  <pre><code>from .notdoneyet import user_input
  from .helpers import createFolder
  from .helpers import getFileExtension
  from .helpers import writeImage
  
  from .opencv_generators import generateEnergyMap
  from .opencv_generators import generateColorMap
  
  from .imagetovideos import generateVideo
  from .imagetovideos import getToProcessPaths
  
  from .seam_carve import cropByColumn
  from .seam_carve import cropByRow
  </code></pre>
  
  <p>I have published the package on testPyPI. But when I try to import it after installing on local machine, I get the import error.</p>
  
  <p>Initial code for <code>notdoneyet.py</code>:</p>
  
  <pre><code>import os, sys, cv2, argparse
  
  #Local imports
  import imgtovideos as itv
  import helpers as hp #Error on this line
  import opencv_generators as og
  import seam_carve as sc
  
  def main(argsip):
      #usr inpt
  </code></pre>
  
  <p>I am getting the error <strong>"no module named helpers"</strong></p>
  
  <p>Here is screenshot of the error:
  <a href="https://i.stack.imgur.com/AYIDm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AYIDm.png" alt="enter image description here"></a></p>
  
  <p>Please help me.
  Thank you.</p>