title: 'module' object has no attribute 'py' when running from cmd
body: <p>I'm currently learning unittesting, and I have stumbled upon a strange error:</p>
  
  <p>If I run my script from inside PyCharm, everything works perfectly. If I run it from my <code>cmd.exe</code> (as administrator), I get the following error:</p>
  
  <p><a href="https://i.stack.imgur.com/Q2oDm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Q2oDm.png" alt="enter image description here"></a></p>
  
  <p>This is my code:</p>
  
  <pre><code>import unittest
  
  class TutorialUnittest(unittest.TestCase):
      def test_add(self):
          self.assertEqual(23,23)
          self.assertNotEqual(11,12)
  
  # function for raising errors.
  def test_raise(self):
      with self.assertRaises(Exception):
          raise Exception`
  </code></pre>