title: ModuleNotFoundError: No module named celery
body: <p>Working on the celery upstarting for my flask project. When using the upstart command(<code>sudo /etc/init.d/celeryd start</code>) I get </p>
  
  <pre><code>celery init v10.1.
  Using config script: /etc/default/celeryd
  Traceback (most recent call last):
    File "/home/user/.local/bin/celery", line 7, in &lt;module&gt;
      from celery.__main__ import main
  ModuleNotFoundError: No module named 'celery'
  </code></pre>
  
  <p>My bin file for celery is placed in <code>/home/user/.local/bin/celery</code>. Directly running <code>celery -A project worker -l info</code> in terminal is working fine.</p>