title: Why do I get "ImportError: No module named" when I try to run my Python script via the Interpreter?
body: <p>I am relatively new to Python and already developing automation framework in my company.</p>
  
  <p>For the first time, during the development process, I got into a situation that I need to run several tests simultaneously. Till this point I always used Eclipse, not only to develop my framework but also run tests (of course it is only one at a time).
  When I tried to run one of my tests (one that I managed to run through Eclipse) through the CMD screen "python " it didn't even start running and the result that I got was "ImportError: No module named" (relates to the imports that I do from packages that I developed).</p>
  
  <p>How does Eclipse manage to get along with all my Imports and run my tests, while the python interpreter couldn't ?</p>
  
  <p>What do i need to do in order to manage to run my tests via the interpreter ?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>The following are examples to what I tried in order to import my proprietary modules</p>
  
  <pre><code> C:\Users\alpha_2.PL\workspace\PacketLight Automation\Test_Cases&gt;python
   Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900
   64 bit (AM D64)] on win32 Type "help", "copyright", "credits" or
   "license" for more information.
   &gt;&gt;&gt; from Utilities.Browser_Utils import Open_Browser Traceback (most recent call last):   File "&lt;stdin&gt;", line 1, in &lt;module&gt; ImportError:
   No module named 'Utilities'
   &gt;&gt;&gt; quit()
  
   C:\Users\alpha_2.PL\workspace\PacketLight Automation\Test_Cases&gt;cd..
  
   C:\Users\alpha_2.PL\workspace\PacketLight Automation&gt;cd Utilities
  
   C:\Users\alpha_2.PL\workspace\PacketLight Automation\Utilities&gt;python
   Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900
   64 bit (AM D64)] on win32 Type "help", "copyright", "credits" or
   "license" for more information.
   &gt;&gt;&gt; from Utilities.Browser_Utils import Open_Browser Traceback (most recent call last):   File "&lt;stdin&gt;", line 1, in &lt;module&gt; ImportError:
   No module named 'Utilities'
   &gt;&gt;&gt; quit()
  
   C:\Users\alpha_2.PL\workspace\PacketLight Automation\Utilities&gt;dir 
   Volume in drive C has no label.  Volume Serial Number is 1E0C-6554
  
    Directory of C:\Users\alpha_2.PL\workspace\PacketLight Automation\Utilities
  
   08/07/2017  03:05 PM    &lt;DIR&gt;          .
   08/07/2017  03:05 PM    &lt;DIR&gt;          ..
   08/10/2017  10:28 AM               455 Browser_Utils.py 
   09/05/2017  05:00 PM             7,007 General_Utils.py
   07/31/2017  01:49 PM                 0 __init__.py
   09/05/2017  06:07 PM    &lt;DIR&gt;          __pycache__
                  3 File(s)          7,462 bytes
                  3 Dir(s)  394,707,480,576 bytes free
  
   C:\Users\alpha_2.PL\workspace\PacketLight Automation\Utilities&gt;python
   Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900
   64 bit (AM D64)] on win32 Type "help", "copyright", "credits" or
   "license" for more information.
   &gt;&gt;&gt; from Utilities.Browser_Utils import Open_Browser 
   Traceback (most recent call last):
     File "&lt;stdin&gt;", line 1, in &lt;module&gt; ImportError:
   No module named 'Utilities'
   &gt;&gt;&gt;
  </code></pre>