<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 27, 2015 at 3:32 AM, Cai Gengyang <span dir="ltr"><<a href="mailto:gengyangcai@gmail.com" target="_blank">gengyangcai@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all !<br>
<br>
So I am going through the (Database setup) chapter of this tutorial (<a href="https://docs.djangoproject.com/en/1.8/intro/tutorial01/" rel="noreferrer" target="_blank">https://docs.djangoproject.com/en/1.8/intro/tutorial01/</a>) --- Its the section right after the first chapter on "Creating a project"<br>
<br>
I opened up mysite/settings.py as per the instructions on the Django tutorial.<br>
<br>
However, when I try to run the following command : $ python manage.py migrate to create the tables in the database,<br>
<br>
CaiGengYangs-MacBook-Pro:Weiqi CaiGengYang$ python manage.py migrate ---- input<br>
<br>
I get the following error message :<br>
<br>
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'manage.py': [Errno 2] No such file or directory ---- output<br>
<br>
Any idea how to solve this issue?<br>
<br>
Thanks a lot !<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div>You need to be in the directory that contains manage.py </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Gengyang<br>
--<br>
<a href="https://mail.python.org/mailman/listinfo/python-list" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-list</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Joel Goldstick<br></div><a href="http://joelgoldstick.com" target="_blank">http://joelgoldstick.com</a><br></div></div>
</div></div>