title: ModuleNotFound error while running through Bash
body: <p>I have a Python script 'test.py' which has import pymysql. I have installed pymysql using pip and sudo. When I run this .py, it works great.</p>
  <p>I have another Bash script which is used to run the above test.py. When I run this bash script, I get the error:</p>
  <blockquote>
  <p>ModuleNotFoundError: No module named 'pymysql'</p>
  </blockquote>
  <p>Where am I going wrong?</p>
  <p>PyMySQL==0.9.3<br />
  Python=3.7.1</p>